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