mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-20 00:06:24 +08:00
GitBook: [master] 215 pages modified
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Flashlight
|
||||
|
||||
```text
|
||||
$ ionic cordova plugin add cordova-plugin-flashlight
|
||||
$ npm install @awesome-cordova-plugins/flashlight
|
||||
```
|
||||
|
||||
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/flashlight/)
|
||||
|
||||
Plugin Repo: [https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin](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](https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin).
|
||||
|
||||
## Supported platforms
|
||||
|
||||
* Android
|
||||
* iOS
|
||||
* Windows Phone 8
|
||||
|
||||
Reference in New Issue
Block a user