Background Mode
1
$ ionic cordova plugin add cordova-plugin-background-mode
2
$ npm install @awesome-cordova-plugins/background-mode
Copied!
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