-
Notifications
You must be signed in to change notification settings - Fork 98
Description
Currently we are manually defining method channels to communicate with the underlying native platform for Android, iOS and web. This makes it easy to miss certain implementation details during development and can cause exceptions to occur due to the absence of type safety when using method channels.
To avoid these shortfalls and also accelerate development of this plugin, I would suggest to migrate from using method channels to using the Pigeon plugin developed by the Flutter team. This package can auto-generate the required platform communication code. This will also complement the current effort to migrate to the Places (new) API #77 since Google recently announced that the original Places API will be transitioning to Legacy status starting 1 March 2025.
Since this is an internal change, we can adopt the plugin incrementally starting with with the platform interface package. We can model after the video_player plugin which uses Pigeon. Let me know your thoughts.