commit | 8a613b9c55e4b52a7e815eeaafdf39d68176cb72 | [log] [tgz] |
---|---|---|
author | Ari Weiland <aweiland@google.com> | Wed Oct 28 20:12:52 2020 -0700 |
committer | GitHub <noreply@github.com> | Wed Oct 28 20:12:52 2020 -0700 |
tree | c557423e9cf403a3be97888b28dbf9be56905079 | |
parent | d3bbef885e57cd0a018e968a186e2b805f7dcfa4 [diff] |
[google_maps_flutter] Overhaul lifecycle management in GoogleMapsPlugin (#3213) GoogleMapController is now uniformly driven by implementing DefaultLifecycleObserver. That observer is registered to a lifecycle passed via the new LifecycleProvider interface, which has 3 implementations: 1. For v2 plugin registration, GoogleMapsPlugin implements the interface and holds the lifecycle in a field, which is itself controlled by ActivityAware methods. 2. For v1 plugin registration, if the activity implements LifecycleOwner, it's lifecycle is used directly. 3. For v1 plugin registration, if the activity does not implement LifecycleOwner, a proxy lifecycle is created via ActivityLifecycleCallbacks.
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter first-party plugins (i.e., plugins developed by the core Flutter team). Check the packages
directory for all plugins.
Flutter plugins enable access to platform-specific APIs. For more information about plugins, and how to use them, see https://flutter.dev/platform-plugins/.
These plugins are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo.
If you wish to contribute a new plugin to the Flutter ecosystem, please see the documentation for developing packages and platform channels. You can store your plugin source code in any GitHub repository (the present repo is only intended for plugins developed by the core Flutter team). Once your plugin is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide, and send a pull request.
These are the available plugins in this repository.