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

Flash not working by default settings FLASH_MODE_ON #46

Open
praveenb opened this issue Aug 27, 2018 · 0 comments
Open

Flash not working by default settings FLASH_MODE_ON #46

praveenb opened this issue Aug 27, 2018 · 0 comments

Comments

@praveenb
Copy link

praveenb commented Aug 27, 2018

Hi,

Thanks for the the nice library.
We're facing issue with Flash when taking photo.
We set Flash mode ON, as below code. But not see Flash when taking photo.
AnncaConfiguration.Builder builder = new AnncaConfiguration.Builder(activity, CAPTURE_MEDIA); builder.setFlashMode(AnncaConfiguration.FLASH_MODE_ON); builder.setMediaResultBehaviour(AnncaConfiguration.CONTINUE); new Annca(builder.build()).launchCamera();

Flash working only when click on Flash button on Screen to turn it ON. Then It works only for first photo. And then it wont flash again later even its kept still ON, unless we click on button again to turn it ON.

I try to analyze the code to fix it, but couldn't able fix it. Could you please let us know how to fix this issue.

Thank you.

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