Fix default overrides custom settings

Fixes issue #43
This commit is contained in:
Sebastián Katzer 2014-12-13 20:57:27 +01:00
parent 42a1553a5e
commit 99dac5b396

View File

@ -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();