mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-12-23 13:57:35 +00:00
parent
42a1553a5e
commit
99dac5b396
@ -26,7 +26,8 @@ var exec = require('cordova/exec'),
|
||||
// Override back button action to prevent being killed
|
||||
document.addEventListener('backbutton', function () {}, false);
|
||||
|
||||
channel.deviceready.subscribe(function () {
|
||||
// Called before 'deviceready' listener will be called
|
||||
channel.onCordovaReady.subscribe(function () {
|
||||
// Set the default settings
|
||||
exports.configure();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user