It’s weird. This is my ionic info:
@ionic/cli-utils : 1.18.0 / ionic (Ionic CLI) : 3.18.0
cordova (Cordova CLI) : 7.1.0
@ionic/app-scripts : 3.1.2 / Cordova Platforms : none / Ionic Framework: ionic-angular 3.9.2
SDK Tools : 25.2.5 / Node : v6.10.2 / npm: 5.5.1 / OS: Windows 10
C:\Program Files (x86)\Android\android-sdk
backend : pro
So, no platforms installed. But… that’s not all folks.
Modified a label at the start page to ensure version and cache on devices not interfering.
Started serving with
ionic serve --no-open -c
And opened devapp on both Android 7.1.1 and iPhone SE.
iPhone started and works OK
[20:10:18] console.log: Ionic Native: deviceready event fired after 1120 ms
Android shows loading and hungs on spinning.
[20:10:32] console.log: deviceready has not fired after 5 seconds. [20:10:32] console.log: Channel not fired: onDOMContentLoaded [20:10:32] console.log: Channel not fired: onFileSystemPathsReady [20:10:38] console.log: Angular is running in the development mode. Call enableProdMode() to enable the production mode. [20:10:38] console.warn: Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
I went to Ionic View NO PLATFORMS ADDED!
git push ionic master
- Android device: App started with no apparent issues.
- iPhone: It shows first lines of index.html as plain text:
- Same project no changes on Ionic DevApp: iOS working OK, Android fails.
- Same project no changes on Ionic View: Andoid working OK, iOS fails.
Just loosing hope on this.