Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ionic-native/background-mode

ionic-team9.4kMIT5.36.0TypeScript support: included

Ionic Native - Native plugins for ionic apps

readme

Improve this doc

Background Mode

$ ionic cordova plugin add cordova-plugin-background-mode
$ npm install @ionic-native/background-mode

Usage Documentation

Plugin Repo: 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