Steps to run Background Services in Ionic app
To keep your app running some functionality in the background you can use background mode plugin in ionic.
Installation:
$ ionic cordova plugin add cordova-plugin-background-mode $ npm install @ionic-native/background-mode
Platform:p
- AmazonFire OS
- Android
- Browser
- iOS
- Windows
Use:
To disable background mode
this.backgroundMode.disable();