When using the Places API in a Flutter web app, I'm getting a CORS error. It seems that this is due to the place API having a different end point for browser (javascript) requests. Below are samples of the requests made by the working Google Maps JavaScript API and the web services API, respectively.
I believe that either the Places portion needs custom code to call the Javascript API, or the request formatting needs to change to make it actually cross-compatible. Not sure what the best/correct option is.
When using the Places API in a Flutter web app, I'm getting a CORS error. It seems that this is due to the place API having a different end point for browser (javascript) requests. Below are samples of the requests made by the working Google Maps JavaScript API and the web services API, respectively.
I believe that either the Places portion needs custom code to call the Javascript API, or the request formatting needs to change to make it actually cross-compatible. Not sure what the best/correct option is.