I have updated to cordova v 5 (to fix ios9 issues) and run into this issue when recompiling my android version. Lucky me (not)…
Anyhow the purpose of my post is to share the solution that worked for me, restoring my ability to use the jsonp data service that was previously working before ios9 surfaced it’s ugly head.
There was no need to load cordova whitelist plugin, it’s included now if you’re cordova v5.
At least after I uninstalled and reinstalled cordova and ionic, then re-added the android platform I saw it show up in the list of plugins being added to my project (in the terminal output).
Adding this code to my config.xml did the trick and I’m back in business (except the lost 5 hours, messing around trying to fix this silly issue - not realising exactly what it was.)
<allow-navigation href="https://*/*" /> <allow-navigation href="data:*" />
See full message here :: stackoverflow answer
just paste into config.xml and bingo bango !!
Then i added this to index.html
<meta http-equiv="Content-Security-Policy" content="default-src 'self' https: ; style-src 'self' 'unsafe-inline'; script-src 'self' https: 'unsafe-inline' 'unsafe-eval' ">
no need for ngCsp tags in index.html either.
hope this helps save somebody else’s time
thanks
Steve