$http.get errors with Android?


#1

Recently cordova released cordova-android 4.0 with the laster version of the cordova cli.
The changes in cordova-android prevent any http request by default.

There have already been a few posts about this issue.

To fix this, all you have to do is add the cordova-whitelist-plugin.

ionic plugin add cordova-plugin-whitelist

Happy hacking


Getting 404 error on http request in emulator, but same request is working in webbrowers (ionic serve)
Run Android blank white (SOLVED)
Build proccess changed and now cannot call to api
Why doesn't my HTTP get work on pull to refresh?
Android build issue
#2