Comments (9)
it's Ok in rear but when i switch camera to Front.
in version adv_camera 1.1.2+2, I got this :
"a virtual display of size: [1631, 2900] may result in problems(flutter/flutter#2897 is larger than the device screen size: [1440, 2900]."
from adv_camera.
same problem here, Samsung Galaxy S9, Android 10 installed.
from adv_camera.
btw, this shouldn't be happening again, because i remember have fixed it at the latest version, have you tried the latest version?
from adv_camera.
yes, I am using version 1.1.1+1. When I call cameraController.switchCamera() I get this error.
from adv_camera.
any update on this?
from adv_camera.
I have this issue using the current example app too. Tested on Samsung A21s running Android 10.
from adv_camera.
Not working, here the console output
I/Camera (27906): close camera: 0, package name: com.ric.adv_camera_example I/HwCameraUtil(27906): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = false I/Camera (27906): open camera: 1, package name: com.ric.adv_camera_example I/HwCameraUtil(27906): notifySurfaceFlingerCameraStatus : isFront = true , isOpend = true I/HwCameraUtil(27906): notifySurfaceFlingerFrontCameraStatus 8011 transact success! W/System.err(27906): java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.contains(java.lang.Object)' on a null object reference W/System.err(27906): at com.ric.adv_camera.AdvCamera.translateFlashType(AdvCamera.java:507) W/System.err(27906): at com.ric.adv_camera.AdvCamera.setupCamera(AdvCamera.java:469) W/System.err(27906): at com.ric.adv_camera.AdvCamera.onMethodCall(AdvCamera.java:286) W/System.err(27906): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230) W/System.err(27906): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) W/System.err(27906): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692) W/System.err(27906): at android.os.MessageQueue.nativePollOnce(Native Method) W/System.err(27906): at android.os.MessageQueue.next(MessageQueue.java:363) W/System.err(27906): at android.os.Looper.loop(Looper.java:173) W/System.err(27906): at android.app.ActivityThread.main(ActivityThread.java:8178) W/System.err(27906): at java.lang.reflect.Method.invoke(Native Method) W/System.err(27906): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) W/System.err(27906): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
from adv_camera.
I used the version, where front camera was working and then added autofocus implementation...works like a charm
from adv_camera.
please use the latest version (1.2.0) and if the problem still persists, reopen this thread. Thanks!
from adv_camera.
Related Issues (20)
- how to set custom focus point? HOT 4
- adv_camera V1.3.1+1 CameraPreviewRatio.r16_9 not full screen HOT 3
- App crash on iOS simulator after picking an image from gallery (AdvCamera.swift line 371)
- How to change save directory? HOT 1
- Dispose cam resource widget disposed
- Running for local developement HOT 2
- Execution failed for task ':adv_camera:generateDebugRFile'.
- Flash doesn't work. HOT 2
- Add JPEG quality param
- Cannot build iOS project with adv_camera library
- Calling controller.setFlashType does not activate flash HOT 3
- Windows Mac Linux web support
- Focus marker disappear on iOS after changing camera
- Green camera indicator never disappears
- Is it possible to capture from both front and back cameras at the same time?
- Adv_Camera no longer respects its position in stack on android in Flutter 3.0 HOT 5
- Unexpected platform view context. When constructing a platform view in the factory, use the context from PlatformViewFactory#create
- [camera] Android 12 - camera plugin fails to take a photo
- can not take photo HOT 1
- zoom issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adv_camera.