Annca icon indicating copy to clipboard operation
Annca copied to clipboard

Flash not working by default settings FLASH_MODE_ON

Open praveenb opened this issue 5 years ago • 0 comments

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.

praveenb avatar Aug 27 '18 07:08 praveenb