Turn torch on and off
How can i add the function to turn the torch on my phone on and off by pressing a button in an app??
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How can i add the function to turn the torch on my phone on and off by pressing a button in an app??
Hello!
It's a device feature, it's not added by default. You would need to search fro PhoneGap plugin to do that.
I have the same question and the default Camera Service doesn't seem to have the light options included.
How would I add a PhoneGap plugin that allowed me to manipulate the the camera torch light?
Hello!
Here is plugin sample https://build.phonegap.com/plugins/294, you can also search for other plugins. Here is how to add plugin for Android http://docs.appery.io/documentation/u...
Unfortunately there is no way to add plugin for iOS through builder, you would need to do that in xCode. We are working on this functionality.