Using Ionic 1.0.0-beta.12 and CLI 1.2.4. I’m trying to test resume in the emulator for IOS and I keep getting this error.
deviceready has not fired after 5 seconds.
2 110550 log Channel not fired: onCordovaInfoReady
Here is some of my code. I get the error above and my resume broadcast never fires.
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if(window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
}
if(window.StatusBar) {
// org.apache.cordova.statusbar required
StatusBar.styleDefault();
}
document.addEventListener("resume", onResume, false);
function onResume(){
$rootScope.$broadcast(appEvents.resume);
}
});
})
No luck fixing this by adding/removing the platform. I’ve seen in other places its related to the file plugin, but i’m using the file plugin here.
Any other folks having a similar problem and found a fix for it?
deviceready has not fired after 5 seconds.
Channel not fired: onIonicProReady
only on ANDROID … IOS works fine
Using Angular 9.1.2 and Capacitor, deployed via android studio directly on the phone. Checkt via chrome://inspect and saw this error. cause of this error my keycloak service is not initialized