cordova-plugin-background-service
v1.3.5
Published
Cordova Background Service Plugin
Downloads
78
Readme
BackgroundService
Installing the plugin
$ cordova plugin add cordova-plugin-background-serviceUsing the plugin
The plugin creates the object window.BackgroundService with the methods start(success, failure, config), and stop(success, failure).
window.BackgroundService.start(
function(fn) { dosometing(), fn && fn() },
function() { console.log('err') }
)Code Refs
https://github.com/katzer/cordova-plugin-background-mode
https://github.com/transistorsoft/cordova-plugin-background-fetch
