mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
31 lines
872 B
Markdown
31 lines
872 B
Markdown
---
|
|
description: >-
|
|
Flashlight plugin for Cordova and Ionic. This plugin allows you to switch the flashlight / torch of the device on and off. Requires Cordova plugin:…
|
|
---
|
|
|
|
# Flashlight
|
|
|
|
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).
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
ionic cordova plugin add cordova-plugin-flashlight
|
|
npm install @awesome-cordova-plugins/flashlight
|
|
```
|
|
|
|
**Plugin Repo:** [https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin](https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin)
|
|
|
|
## Supported Platforms
|
|
|
|
- Android
|
|
- iOS
|
|
- Windows Phone 8
|
|
|
|
## Further Information
|
|
|
|
- [Installation Guide](../../installation.md)
|
|
- [FAQ](../../faq.md)
|