Inside the index.html to section i have console.log outputting some message but that even doesn’t show up.
I’m using Cordova 6.2.0 with ionic beta 8. Is any one experiencing the same problem? Wonder whether one of the cordova plugin is blocking some thread to run.
This is not happening always, but chance is very high … higher than 80%.
but when runs, i see this message
WARN: Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
I’m also having this issue but android doesn’t want to start either, At first android did start but very slow (unusable) then when i started to add some native plugins it didn’t load at all.
This could be tied to a few thing. But check out the plugins that you are using, you may need to nuke the native platform and add them back. It could be that something is wonky in the native builds.
Also, with the app open, launch the safari dev tools and see if there is an error. You can see if anythings 404’d or if DOM is even being rendered.
After long investigation, I found a weird issue with iOS. (I already mentioned what plugins i’m using above).
Seems when app is first launched (happens only in iOS), I have conditional stmt to set Root page
this.rootPage = HomePage;
the constructor nor ngOnInit() from HomePageController is somehow not fired. (this is working fine in Android)
However, if I close the app and reopen, the constructor and ngOnInit() fires and everything looks good.