I’ve recently updated my project to Cordova 5.0 and to use Crosswalk and now it doesn’t seem to be getting inside ionic.Platform.ready
anymore
If I run the below code on an iPad both alerts fire, if I run it on an android tablet only the first does, anyone any ideas? It was all working before the Cordova/Crosswalk updates I did today
.run(function ($window, Offline) {
window.alert('run firing');
ionic.Platform.ready(function(){
window.alert('run firing inside ionic platform ready');
if (window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
}
if (window.StatusBar) {
StatusBar.styleDefault();
}
// Create database
Offline.createDatabase();
});
})