This plugin allows you switch the flaslight / torch of your device on or off.
The description within the plugin.xml for Flashlight is very short.
More information could be available on the GitHub README.

Installation is done via the Cordova CLI.

Install Flashlight using the latest version from GitHub:

$ cordova plugin add

Install the latest published version (2.0.3):

$ cordova plugin add nl.x-services.plugins.flashlight

Supported Platforms
  • Android
  • BlackBerry 10
  • Fire OS
  • Firefox OS
  • iOS
  • Ubuntu
  • Windows 8
  • Windows Phone 7
  • Windows Phone 8
Supported Engines
  • cordova