diff --git a/www/background-mode.js b/www/background-mode.js index 483b07c..b06c274 100644 --- a/www/background-mode.js +++ b/www/background-mode.js @@ -347,8 +347,8 @@ exports._defaults = { // Called before 'deviceready' listener will be called channel.onCordovaReady.subscribe(function () { channel.onCordovaInfoReady.subscribe(function () { - exports.setDefaults({}); exports._isAndroid = device.platform.match(/^android|amazon/i) !== null; + exports.setDefaults({}); }); });