Build ionic network not working in android

Hi everyone,
Ionic is great tool for me. Few days ago, I try follow getting started documentation, build new apps with ionic. Everything just fine at ionic serve environment with browser at computer, but when i build and install apps on android, networking ($http.get, img src etc) not working. My config.xml already contain access origin="*" and AndroidManifest.xml already contain

uses-permission android:name="android.permission.INTERNET"
uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"
uses-permission android:name=“android.permission.ACCESS_WIFI_STATE”

What i’ve been missed out ?

Which Cordova version are you using? Type ionic info and copy & paste its output here.

If you are using Cordova 5 you need to install this plugin

And add a whitelist in your config.xml file.

Your system information:

OS: Windows 8.1
Node Version: v0.12.2
Cordova CLI: 5.0.0
Ionic CLI Version: 1.3.20

My cordova version 5
After install plugin and update config.xml, now my apps running well.

Thanks to All

Hi @grillorafael / @sithot28,
How i am also facing same issue. Please help me as I am new. I am not getting how can i install the plugin

Just type ionic plugin add cordova-plugin-whitelist.

I’ve actually just submitted a pull request asking to include that plugin by default when creating a new project with ionic start.


Hi, thank you all for the tips, my android app is working again, but I’m unable to get it working with appinbrowser and I don’t know how to debug to see what its happening inside.

Any help would be appreciated

cordova-plugin-whitelist worked for me. Thanks