mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-22 07:14:54 +00:00
parent
99dac5b396
commit
1c289f7d01
@ -28,8 +28,11 @@ document.addEventListener('backbutton', function () {}, false);
|
||||
|
||||
// Called before 'deviceready' listener will be called
|
||||
channel.onCordovaReady.subscribe(function () {
|
||||
// Set the default settings
|
||||
exports.configure();
|
||||
// Device plugin is ready now
|
||||
channel.onCordovaInfoReady.subscribe( function () {
|
||||
// Set the defaults
|
||||
exports.configure();
|
||||
});
|
||||
|
||||
// Only enable WP8 by default
|
||||
if (['WinCE', 'Win32NT'].indexOf(device.platform) > -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user