bazrafkan / google_place

A new Flutter package for handle google place api
MIT License
84 stars 122 forks source link

Flutter Web - Can't google place autocomplete to work unless using proxy url. #39

Closed DavidHCox closed 2 years ago

DavidHCox commented 2 years ago

Has anybody got the google place working without using the proxy url?

Right now we are using 'cors-anywhere.herokuapp.com' as the proxy url and works with limitations, but in the long run we just do not want to use one.

Is there something that I am not understanding about the web that requires a proxy url?

RageshAntony commented 2 years ago

Has anybody got the google place working without using the proxy url?

Right now we are using 'cors-anywhere.herokuapp.com' as the proxy url and works with limitations, but in the long run we just do not want to use one.

Is there something that I am not understanding about the web that requires a proxy url?

https://stackoverflow.com/questions/65630743/how-to-solve-flutter-web-api-cors-error-only-with-dart-code

theRealBitcoinClub commented 2 years ago

yes there is something you might have to investigate: https://duckduckgo.com/?q=what+is+a+CORS+requests

Desync-o-tron commented 2 years ago

yes. check my pr.