fluttercommunity / flutter_google_places

Google Places - Google places autocomplete widgets for flutter. No wrapper, use https://pub.dev/packages/google_maps_webservice. Maintainer: @juliansteenbakker
https://pub.dev/packages/flutter_google_places
Other
303 stars 415 forks source link

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

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?

sajithlaldev commented 2 years ago

yes. i have same issue.

aliaafreen commented 2 years ago

still needed proxy url? I am using flutter_google_places: ^0.3.0 but still i am getting error of XMLHttpRequest error for flutter web.

jpetro416 commented 2 years ago

I'm using flutter_google_places: ^0.3.0 Getting error:


Error: XMLHttpRequest error.
    C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 908:28                get current
packages/http/src/browser_client.dart 69:22  
JuanMesa314 commented 2 years ago

I'm using flutter_google_places: ^0.3.0 and I havent been able to find a solution Error:

Error: XMLHttpRequest error.
    C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 908:28                get current
packages/http/src/browser_client.dart 69:22  
timndichu commented 2 years ago

Any solution to this?

juliansteenbakker commented 2 years ago

For now there is no solution since this is not supported by google. also this is a duplicate of #93