$ionicPlatform.ready not firing on Android when app delivered over the web


#1

Hi,

I’m trying to deliver my Ionic hybrid app over the web so in config.xml I have pointed to index.html on my web server

The web delivered app works great on iOS but the app is not starting up on Android.
I experimented this case with the default “starter” app that is part of the ionic framework and I’m seeing the same behavior.
It turns out that when the app is delivered over HTTP the $ionicPlatform.ready event is NOT firing on Android.
The events fires properly on iOS though.

I have tried numerous experiments but no success.
Any ideas what could be going wrong on Android?

To summarize:
Local version of app runs fine on both iOS and Android
Remote(http) version of the app runs fine only on iOS but fails on Android.

Android version: 5.1.1
Cordova version: 5.0.0
Ionic Version: 1.0.0

Any help would be great!