mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
26 lines
686 B
Markdown
26 lines
686 B
Markdown
|
<a style="float:right;font-size:12px;" href="http://github.com/danielsogl/awesome-cordova-plugins/edit/master/src/@awesome-cordova-plugins/plugins/insomnia/index.ts#L1">
|
||
|
Improve this doc
|
||
|
</a>
|
||
|
|
||
|
# Insomnia
|
||
|
|
||
|
```
|
||
|
$ ionic cordova plugin add cordova-plugin-insomnia
|
||
|
$ npm install @ionic-native/plugins/insomnia
|
||
|
```
|
||
|
|
||
|
## [Usage Documentation](https://ionicframework.com/docs/native/insomnia/)
|
||
|
|
||
|
Plugin Repo: [https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin](https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin)
|
||
|
|
||
|
Prevent the screen of the mobile device from falling asleep.
|
||
|
|
||
|
## Supported platforms
|
||
|
|
||
|
- Android
|
||
|
- Browser
|
||
|
- Firefox OS
|
||
|
- iOS
|
||
|
- Windows
|
||
|
- Windows Phone 8
|