I’m having issues loading external scripts, specifically, http://maps.googleapis.com/maps/api/js?key=XXXXXX&sensor=true
The error I get is:
Failed to load resource: The network connection was lost.
I’ve tried everything I could find, including:
- Placing the script above cordova.js
- Enabling the cordova whitelist plugin.
- Creating a security policy meta tag with maps.googleapis.com enabled.
- Making sure my config.xml file contains
This occurs when running “ionic emulate ios” and “ionic emulate ios --livereload”. Everything loads fine via the web browser with “ionic serve”.
Any suggestions would be much appreciated; I’ve exhausted all resources I can find.