You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/09/16 01:51:54 UTC

[GitHub] [cordova-android] toufiqpathan commented on issue #1318: [10.0.1] XMLHttpRequest cors error occurred

toufiqpathan commented on issue #1318:
URL: https://github.com/apache/cordova-android/issues/1318#issuecomment-920512727


   Hi getting this error while loading the map
   using android 10.1.1, please help me this error is blocker for me.
   Access to XMLHttpRequest at 'https://maps.googleapis.com/maps/api/directions/json?origin=16.8218588%2C%2075.7139356&destination=-37.004771%2C%20174.78361&waypoints=&travelMode=DRIVING&drivingOptions=&key=xxxxxxxxxxxxxx from origin 'https://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org