-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[google_maps_flutter] My location button and my location fixes #1809
Conversation
@collinjackson Hi!
|
Thanks for the excellent contribution. If you can fix the merge conflicts we can merge this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Update master
# Conflicts: # packages/google_maps_flutter/CHANGELOG.md # packages/google_maps_flutter/pubspec.yaml
@iskakaushik Thank you. Done |
@otopba Did you get a chance to look at these conflicts so we can merge this? |
Update from master
# Conflicts: # AUTHORS # packages/google_maps_flutter/CHANGELOG.md # packages/google_maps_flutter/example/test_driver/google_maps.dart
@RyanRamchandar done |
@iskakaushik |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! As the e2e test is blocked by permissions, is it possible to add unit tests to just test the platform code?
myLocationButtonEnabled = await inspector.isMyLocationButtonEnabled(); | ||
expect(myLocationButtonEnabled, false); | ||
}, skip: true); | ||
//TODO: Remove `skip' when https://github.com/flutter/flutter/issues/12561 will be fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this only blocking android? Or iOS as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iOS will show a dialog with the permission request. So it is blocking UI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We enabled XCUITests in the repo, now we should be able to test this using XCUITests, XCUITests can handle permission. https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md#setting-up-xcuitests
An example could be found here. #3254 (The tests in PR also handles permissions)
Do you mind adding the test?
# Conflicts: # packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md
There are already tests and they work well |
Which tests did you refer to? |
# Conflicts: # packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md # packages/google_maps_flutter/google_maps_flutter/pubspec.yaml
google_maps_e2e.dart |
@cyanglaz Any updates? |
update master
…fixes # Conflicts: # packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md # packages/google_maps_flutter/google_maps_flutter/example/lib/map_ui.dart # packages/google_maps_flutter/google_maps_flutter/pubspec.yaml
@cyanglaz friendly ping |
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'm going to close the PR because the CLA is not signed. Feel free to ping me when the CLA is signed and I'll re-open the PR. Or you can open a new PR after signing the CLA. |
Description
Fix some confusions with my location and my location button
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?