NappFlashLight
NappFlashLight copied to clipboard
Flashlight Titanium module for iOS and Android.
HI, In my application I am using torch functionality and for that I am using dk.napp.flashlight module. But with Android 6.0 devices it is giving runtime error as Uncaught error:...
This my code: ``` var NappFlashLight = require('dk.napp.flashlight'); if (NappFlashLight.isFlashLightSupported()) { Ti.API.info("hardware support for flashlight"); NappFlashLight.turnFlashLightOn(); } else { Ti.API.error("No hardware support for flashlight"); } ``` On console I see...
This seems to be an Android 5.0 and iOS 8 issue* Android reports proper behavior with the isFlashLightOn() method but does not activate the light with the appropriate methods. iOS...