Flashlight not working from demo


I’ve just tried using the demo app from the repository to use the Flashlight feature, and the light on my Nexus 5 does not come on when I tap the “On” button. Is there a simple way to use this on an empty project?



Have you tried to install the Flashlight plugin?

E.G. on the command prompt run

cordova plugins add https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin

See if it works.

Please correct me if my concept is wrong.

Good luck