Google reverse Geocoding - Cordova CORS issue


#1

I am using Google reverse Geocoding API. I am making a call with coordinates and Google returns the address of the location.

The calls are working locally on my computer. But when I run the app on an Android device I am getting this error
XMLHttpRequest cannot load https://maps.googleapis.com/maps/api/geocode/json?latlng=51.1111111%2C4.2222222&result_type=locality&key=API_KEY. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://meteor.local' is therefore not allowed access.

Has anyone experienced a similar problem?


#2

Is this some of the solutions help?


#3

Apparently I am not the only one with this issue: https://github.com/meteor/meteor/issues/3469

I am still trying to find a workaround.