Flashlight
1
$ ionic cordova plugin add cordova-plugin-flashlight
2
$ npm install @awesome-cordova-plugins/flashlight
Copied!
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 Flashlight plugin docs.

Supported platforms

  • Android
    • iOS
    • Windows Phone 8