I have just compiled for the first time my Ionic app on Phonegap Build, then I installed the app on my Android device : Samsung Galaxy SII i9100, with Android 4.0.3.
But I get a black screen:
<ion-nav-view></ion-nav-view>
is empty.
I put the config.xml file in the www folder.
The app works well in my desktop browser.
Can you help me figure this out ?
Thanks
Before Cordova 2.3.0, the Connection object existed at: navigator.network.connection.
To match the spec, this was changed to navigator.connection in 2.3.0.
navigator.network.connection still exists, but is now deprecated and will be removed in a future release.
Instead of navigator.network.connection.type
, it should be navigator.connection.type
So, change
var networkState = navigator.network.connection.type;
to
var networkState = navigator.connection.type;
Hope this helps. And if it doesn't please edit your question and post your whole log again, if that wasn't the complete log.