Fix default overrides custom settings 2

Solves issue #43
This commit is contained in:
Sebastián Katzer 2014-12-13 23:01:38 +01:00
parent 99dac5b396
commit 1c289f7d01

View File

@ -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) {