-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[google_maps_flutter] Migrate plugin to platform_interface API. #2674
Conversation
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
I consent. |
I think you left off the googlebot part. |
* Make the method_channel implementation private, so it can't be imported from other packages. * Fix all the problems with Future<void> functions not returning a future.
…ort from core plugin to maintain current API.
…by other toJson methods.
…port from the core plugin to preserve public API.
…Json where needed.
The interface can be a singleton, but implementations can still keep references to multiple different method channels.
Wire them up in the method channel. Add Event types so we can filter views of the stream later.
Make the event handler methods in the widget less stringly typed.
0874a5c
to
fcdc7b1
Compare
All tests pass, awaiting for @cylyl to consent (mentioning the googlebot :P) |
@googlebot I consent. |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
packages/google_maps_flutter/google_maps_flutter/lib/src/controller.dart
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter/lib/src/controller.dart
Show resolved
Hide resolved
…ter#2674) This change migrates the core `google_maps_flutter` plugin to use the APIs provided by the `google_maps_flutter_platform_interface` package. This allows for federated implementations for other platforms to be made.
…ter#2674) This change migrates the core `google_maps_flutter` plugin to use the APIs provided by the `google_maps_flutter_platform_interface` package. This allows for federated implementations for other platforms to be made.
…ter#2674) This change migrates the core `google_maps_flutter` plugin to use the APIs provided by the `google_maps_flutter_platform_interface` package. This allows for federated implementations for other platforms to be made.
Description
This change migrates the core
google_maps_flutter
plugin to use the APIs provided by thegoogle_maps_flutter_platform_interface
package.Related Issues
WIP. BLOCKED BY: [google_maps_flutter_platform_interface] Bump to 1.0.1 version. #2677. Done.Tests
google_maps_flutter/test$ flutter test
google_maps_flutter/example$ flutter drive -t test_driver/google_maps_e2e.dart -d emu
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
). This will ensure a smooth and quick review process.///
).flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
This should not be a breaking change, but the change is significant, so the major version has been bumped to 0.6.0.