Skip to content
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

[iOS] Can not turn on flash on iOS device, but it work fine on Android device #47

Open
tuanhwing opened this issue Sep 15, 2021 · 0 comments

Comments

@tuanhwing
Copy link

tuanhwing commented Sep 15, 2021

I have a problem when turn on/off the flash.
I am using flutter_better_camera: 1.0.2+1

Here is code using in my app:

//Turn off
controller.setFlashMode(FlashMode.off);

//Turn on
controller.setFlashMode(FlashMode.torch);

This code not work on iOS device. But work fine on Android device.
Image 9-15-21 at 09 27

I was try catch but don't have any exception.
Pls help me check it. Thank in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant