awesome-cordova-plugins/docs/plugins/background-mode/README.md
2021-09-29 14:38:45 +02:00

29 lines
869 B
Markdown

<a style="float:right;font-size:12px;" href="http://github.com/danielsogl/awesome-cordova-plugins/edit/master/src/@awesome-cordova-plugins/plugins/background-mode/index.ts#L50">
Improve this doc
</a>
# Background Mode
```
$ ionic cordova plugin add cordova-plugin-background-mode
$ npm install @ionic-native/plugins/background-mode
```
## [Usage Documentation](https://ionicframework.com/docs/native/background-mode/)
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