awesome-cordova-plugins/docs/plugins/flashlight.md
2021-09-29 13:46:28 +00:00

689 B

Flashlight

$ ionic cordova plugin add cordova-plugin-flashlight
$ npm install @awesome-cordova-plugins/flashlight

Usage Documentation

Plugin Repo: https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin

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