-
Notifications
You must be signed in to change notification settings - Fork 68
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
Unable to use front camera #4
Comments
I have the same problem here. |
Hi, great to hear that you like it! You cannot use the front camera on Android, because I didn't implement it, yet. On iOS it should work. I am not an Android developer, so it is always quite a bit of research required to develop the plugin further. I will look into it, with CameraX it might me easier that with Camera2. |
I pushed a new version (1.1.1) which should fix this. Please confirm, so I can close this issue. |
Your change works great! Thank you very much. Only issue is that the CameraController.instance.changeCamera(cameraPosition) did not work. I was able to work around it with a ValueNotifier. |
Oh well that method is not implemented yet on the native side |
First thanks for such a great plugin.
I am trying to figure out how to get the front camera to work. I tried setting the CameraPosition.front, but it doesn't seem to work. I have included the relevant code below. Any ideas how to fix this?
`return BarcodeCamera(
types: barcodeTypes,
...
);`
The text was updated successfully, but these errors were encountered: