Assigned
Status Update
Comments
ma...@google.com <ma...@google.com> #2
Thanks for your suggestion! We are currently evaluating this request, but do not have any plans to implement it at the moment. Please star to add your vote and receive further updates, and feel free to add any comments to discuss your use case.
Description
Feature Request
Right now, there is no way to use Places SDK in a Flutter web app. There is currently no first-party plugin for the Google Maps Places library.
There are a few third-party plugins available that use the Places web service API directly (example:https://pub.dev/packages/flutter_google_places ), but these do not work for web apps because the Places APIs don't allow CORS.
The solution is to provide a Flutter plugin that relies on the platform-specific SDKs (for example, using the Javascript client library for web).
I would also like the Places Autocomplete SDK (a ready-to-use UI framework for searching for places and retrieving place details) available for Android, iOS & Web on Flutter.
Issue also opened with Flutter, but they do not plan to work on it:https://github.com/flutter/flutter/issues/78512