Am getting problem with flash light..
while am opening my app developing capture qr code along with flash light
when i click on capture button flash light is working but camera is n't working ..it's throwing error like "sorry the android camera encountered a problem .you may need to restart device
while am opening my app developing capture qr code along with flash light
when i click on capture button flash light is working but camera is n't working ..it's throwing error like "sorry the android camera encountered a problem .you may need to restart device
- 7 Posts
- 0 Reply Likes
Posted 6 years ago
Eddy Verbruggen, Champion
- 375 Posts
- 86 Reply Likes
You can't use the Flashlight plugin with the BarcodeScanner plugin. On Android you can however trigger the flashlight during scanning by pressing the volume up button.
- 7 Posts
- 0 Reply Likes
can you share the source code for flash light during scanning by pressing the volume up button
Eddy Verbruggen, Champion
- 375 Posts
- 86 Reply Likes
You don't need to tell the plugin you want to use that feature; just press the button on Android while scanning..
- 7 Posts
- 0 Reply Likes
- 1 Post
- 0 Reply Likes
Hi Eddy Verbruggen:
is there any other way to switch on flashlight when scanner opened??
is there any other way to switch on flashlight when scanner opened??

