Skip to content

[url_launcher] Remove deprecated onPlatformMessage calls #4233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2023
Merged

[url_launcher] Remove deprecated onPlatformMessage calls #4233

merged 1 commit into from
Jun 17, 2023

Conversation

goderbauer
Copy link
Member

The framework has been fully migrated to ChannelBuffers about 2 years ago, meaning all Flutter versions supported by this package (>=3.3.0) only use ChannelBuffers and not the old onPlatformMessage call. Therefore, the old calls can now just be removed.

(This surfaced because we only remembered just now to deprecate the old long unused API.)

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@goderbauer goderbauer added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 16, 2023
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 17, 2023
@auto-submit
Copy link
Contributor

auto-submit bot commented Jun 17, 2023

auto label is removed for flutter/packages, pr: 4233, Failed to merge flutter/packages/4233 with Pull request could not be merged: Required status check "ci.yaml validation" is expected..

@goderbauer goderbauer added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 17, 2023
@auto-submit auto-submit bot merged commit 7365b61 into flutter:main Jun 17, 2023
@goderbauer goderbauer deleted the removeDeprecatedAPI branch June 17, 2023 04:49
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 20, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jun 20, 2023
flutter/packages@59d93d6...6e1918f

2023-06-19 [email protected] [all] Update UIViewControllerBasedStatusBarAppearance to true (flutter/packages#4225)
2023-06-17 [email protected] Add missing ignores for `textScaleFactor` deprecation (flutter/packages#4239)
2023-06-17 [email protected] [url_launcher] Remove deprecated onPlatformMessage calls (flutter/packages#4233)
2023-06-17 [email protected] [ci] Add LUCI version of build-all for web (flutter/packages#4232)
2023-06-16 [email protected] [ci] Introduce LUCI version of Linux build-all-packages tests (flutter/packages#4229)
2023-06-16 [email protected] Roll Flutter from b0188cd to fc8856e (14 revisions) (flutter/packages#4231)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
auto-submit bot pushed a commit to flutter/engine that referenced this pull request Jun 20, 2023
This reverts commit aefe104.

This is a straight reland without any additional changes. The package that was still using the outdated API causing the original revert has been updated in flutter/packages#4233. **Do not land this until that PR has rolled into the framework.**
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App needs tests p: url_launcher
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants