Response with status 0/404


#1

Hi guys,

I’m trying to call the Google Maps API (https://maps.googleapis.com/maps/api/…).

It works just fine in ionic serve and Ionic View, however it doesn’t work after compiling into an SDK and testing on an android device.

If I have <access origin="*" /> in my config.xml I get the error “Response with status 0 for url: null”

If I have <access origin="https://maps.googleapis.com/maps/api/" /> the error changes to a 404 and the url is visible, however the same url works fine in a browser.

Any help would be appreciated.

Thanks

EDIT
Started a new project and it works fine.