-
-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove < iOS 11 fallback API calls in openSettings: #1653
Conversation
geolocator_apple/CHANGELOG.md
Outdated
@@ -1,3 +1,7 @@ | |||
## NEXT |
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.
Happy to bump the version if you prefer, up to you!
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.
@jmagman would be great. Thanks. Since I have not released 2.3.10 yet, I prefer it to be added to 2.3.10, since that is just a relative minor (update) release.
@jmagman, When I check the gelocator_apple package It looks like i see some more @available(iOS below or 11) Could we not clean it all? Kind regards, |
I think that would be a good idea, however maybe we can do so in a separate PR and start releasing this so the Flutter team can continue there work on the linter rule. |
I've updated the version number and merged your changes. Thanks for your help. Your support is truly appreciated. Kind regards, |
Thank you @TimHoogstrate for handling that! |
geolocator_apple runs on a minimum of iOS 11
flutter-geolocator/geolocator_apple/ios/geolocator_apple.podspec
Line 20 in df61d4c
This means that
if (@available(iOS 10, *))
will never be false. Remove the dead fallback. See my explanation in #1652 (comment) why I'm limiting the availability cleanup to this one-[UIApplication openURL:]
method.Remove fallbacks in tests as well.
On this PR:
Part of #1652
Pre-launch Checklist
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes.CHANGELOG.md
to add a description of the change.///
).main
.dart format .
and committed any changes.flutter analyze
and fixed any errors.