Last updated 3 years ago
Was this helpful?
$ ionic cordova plugin add cordova-plugin-flashlight $ npm install @awesome-cordova-plugins/flashlight
Plugin Repo:
This plugin allows you to switch the flashlight / torch of the device on and off.
Requires Cordova plugin: cordova-plugin-flashlight. For more info, please see the .
cordova-plugin-flashlight
Android
iOS
Windows Phone 8