-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[pigeon] FlutterApi error handling #5008
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
Conversation
|
Since we have breaking changes to Java in this PR we should do the |
stuartmorgan-g
left a comment
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.
All the new generated boilerplate makes me sad, but we can tackle that later. It great to have this plumbed correctly everywhere!
packages/pigeon/example/app/android/app/src/main/java/io/flutter/plugins/Messages.java
Outdated
Show resolved
Hide resolved
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.
Doesn't the [outputAsNumber integerValue] need to be cast to the enum type to avoid warnings?
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.
I don't think so, they're freely convertible from my understanding. 🤷
stuartmorgan-g
left a comment
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!
flutter/packages@c7008cf...d654f75 2023-10-04 [email protected] [pigeon] FlutterApi error handling (flutter/packages#5008) 2023-10-03 [email protected] [webview_flutter] [webview_flutter_wkwebview]Fix race condition in flaky test (flutter/packages#5068) 2023-10-03 [email protected] Roll Flutter from 57ed724 to 5122991 (21 revisions) (flutter/packages#5067) 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
flutter/packages@c7008cf...d654f75 2023-10-04 [email protected] [pigeon] FlutterApi error handling (flutter/packages#5008) 2023-10-03 [email protected] [webview_flutter] [webview_flutter_wkwebview]Fix race condition in flaky test (flutter/packages#5068) 2023-10-03 [email protected] Roll Flutter from 57ed724 to 5122991 (21 revisions) (flutter/packages#5067) 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
Replyclass from all Java method returns.NullableResultclass for all nullable Java method returns.nilresponse on error.SetuptoSetUpin Objective-c.fixes flutter/flutter#118243
fixes flutter/flutter#118245
fixes flutter/flutter#124268
fixes flutter/flutter#135176
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.