awesome-cordova-plugins/docs/plugins/background-mode/README.md

25 lines
692 B
Markdown
Raw Normal View History

2021-09-29 20:09:02 +08:00
# Background Mode
```
$ ionic cordova plugin add cordova-plugin-background-mode
2021-09-29 21:19:55 +08:00
$ npm install @awesome-cordova-plugins/background-mode
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/background-mode/)
2021-09-29 20:09:02 +08:00
Plugin Repo: [https://github.com/katzer/cordova-plugin-background-mode](https://github.com/katzer/cordova-plugin-background-mode)
Cordova plugin to prevent the app from going to sleep while in background.
Requires Cordova plugin: cordova-plugin-background-mode. For more info about plugin, visit: https://github.com/katzer/cordova-plugin-background-mode
## Supported platforms
- AmazonFire OS
- Android
- Browser
- iOS
- Windows
2021-09-29 20:38:45 +08:00