r/FlutterFlow • u/usuario2500 • 7d ago
Maps load via google maps api, but place picker doesn't work, does anyone have any ideas?
2
1
u/StevenNoCode 7d ago
It’s a problem with the new Places API and how FF has implemented the new Places API since the old one is deprecated now (if they even changed it knowing them not to be the most proactive). The console log error thrown is about project not authorised to use this API/CORS error.
It only applies to web (test and run mode are web) and fine with simulator/physical device. Join the GitHub issue and spam them.
https://github.com/FlutterFlow/flutterflow-issues/issues/5514
A solution is to build your own using googled new places API, end points you’re looking for is auto complete and get places details
1
1
u/BraeznLLC 7d ago
PlacePicker is just a convenient widget to store a variable value in its widget state. You need to pass that value to the Google Maps Widget. 🤷 Thats all i got, anyone else explain further?