1 person found this helpful
I suspect you'd need to modify the plugin in order to avoid turning the flash off. Lots of people have been asking for a flash feature on Using "flash" mode · Issue #10 · phonegap/phonegap-plugin-barcodescanner · GitHub
You might see if another barcode scanner plugin works better for you: http://cordova.apache.org/plugins/?q=barcode
I tried the
https://github.com/aNkM/csZBar.git plugin for uisng flashlight with barcodescanner.
In iOS the scan and flashlight works perfectly, but the scanned data is always null.
In android it works like a charm and there is no problem on the scanned data.
Please let me know that is there any I need to do specially for iOS. Thanks in Advance.
I would suggest filing an issue with the plugin developer.