awesome-cordova-plugins/docs/plugins/flashlight/README.md

24 lines
689 B
Markdown
Raw Normal View History

2021-09-29 20:09:02 +08:00
# Flashlight
```
$ ionic cordova plugin add cordova-plugin-flashlight
2021-09-29 21:19:55 +08:00
$ npm install @awesome-cordova-plugins/flashlight
2021-09-29 20:09:02 +08:00
```
2021-09-29 21:19:55 +08:00
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/flashlight/)
2021-09-29 20:09:02 +08:00
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
2021-09-29 20:38:45 +08:00