-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swicth camera.front #26
Comments
same problem here, Samsung Galaxy S9, Android 10 installed. |
btw, this shouldn't be happening again, because i remember have fixed it at the latest version, have you tried the latest version? |
yes, I am using version 1.1.1+1. When I call cameraController.switchCamera() I get this error. |
any update on this? |
I have this issue using the current example app too. Tested on Samsung A21s running Android 10. |
it's Ok in rear but when i switch camera to Front. |
Not working, here the console output |
I used the version, where front camera was working and then added autofocus implementation...works like a charm |
please use the latest version (1.2.0) and if the problem still persists, reopen this thread. Thanks! |
Hi Sir I have error in switch camera front.
help me please
I used Android 9
W/System.err(23964): java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.contains(java.lang.Object)' on a null object reference
W/System.err(23964): at com.ric.adv_camera.AdvCamera.translateFlashType(AdvCamera.java:503)
W/System.err(23964): at com.ric.adv_camera.AdvCamera.setupCamera(AdvCamera.java:465)
W/System.err(23964): at com.ric.adv_camera.AdvCamera.onMethodCall(AdvCamera.java:282)
W/System.err(23964): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230)
W/System.err(23964): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
W/System.err(23964): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:650)
W/System.err(23964): at android.os.MessageQueue.nativePollOnce(Native Method)
W/System.err(23964): at android.os.MessageQueue.next(MessageQueue.java:326)
W/System.err(23964): at android.os.Looper.loop(Looper.java:160)
W/System.err(23964): at android.app.ActivityThread.main(ActivityThread.java:6863)
W/System.err(23964): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(23964): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
W/System.err(23964): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
The text was updated successfully, but these errors were encountered: