hoc081098 / flutter_google_places_hoc081098

Better flutter_google_places, updated by @hoc081098
https://pub.dev/packages/flutter_google_places_hoc081098
Other
19 stars 32 forks source link

CORS Error #11

Open iqtedar123 opened 3 years ago

iqtedar123 commented 3 years ago

Get a CORS error when searching for a place:

Screen Shot 2021-07-20 at 12 05 04 AM
FelipeSamuel commented 2 years ago

same problem

ArnoldRafi commented 1 year ago

Any sollution on web cors error?

UsamaKabeer07 commented 1 year ago

@iqtedar123 For Debug testing, you can use the following way, this will work

  1. Go to flutter\bin\cache
  2. find a file named flutter_tools.stamp , compress it to zip file or whatever to retain a copy then delete the original one.
  3. Go to flutter\packages\flutter_tools\lib\src\web and open chrome.dart file in your editor.
  4. Find line '--disable-extension'
  5. Comment it out and replace it with --disable-web-security.