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
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 https://github.com/apache/cordova-plugin-whitelist
And add a whitelist in your
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 https://github.com/apache/cordova-plugin-whitelist 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 https://github.com/apache/cordova-plugin-whitelist
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
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