$http.get errors with Android?

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

3 Likes