-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[pigeon] Allow multi instance support with message channel name suffix #6224
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
[pigeon] Allow multi instance support with message channel name suffix #6224
Conversation
84d3c99
to
debb5e5
Compare
f2e8aba
to
8705947
Compare
8705947
to
90a1269
Compare
93e299d
to
65d0acf
Compare
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.
With the changes below the tests run, but there's a bad allocation exception being thrown that I'm still looking into.
packages/pigeon/platform_tests/test_plugin/windows/test_plugin.cpp
Outdated
Show resolved
Hide resolved
packages/pigeon/platform_tests/test_plugin/windows/test_plugin.cpp
Outdated
Show resolved
Hide resolved
packages/pigeon/example/app/android/app/src/main/java/io/flutter/plugins/Messages.java
Show resolved
Hide resolved
packages/pigeon/example/app/android/app/src/main/java/io/flutter/plugins/Messages.java
Outdated
Show resolved
Hide resolved
...geon/platform_tests/alternate_language_test_plugin/ios/Classes/AlternateLanguageTestPlugin.m
Show resolved
Hide resolved
This is fully ready for review @stuartmorgan @hellohuanlin and @bparrishMines for anyone who wants to give it a look |
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.
reviewed the ios part
..._test_plugin/android/src/main/java/com/example/alternate_language_test_plugin/CoreTests.java
Outdated
Show resolved
Hide resolved
It appears there could be a bug within the Objective-C generator in
|
I don't think this was an issue, but I was already planning on changing it anyway (and have). |
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
1573ada
to
d72368f
Compare
Not entirely sure why the format tests are failing like this. The code is formatted correctly. If go back and update the code to the "asked for" style, the formatter reverts it. @stuartmorgan |
Could be a difference in local vs bot |
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@0e848fa...dce6f0c 2024-04-04 49699333+dependabot[bot]@users.noreply.github.com Bump lewagon/wait-on-check-action from 1.3.3 to 1.3.4 (flutter/packages#6459) 2024-04-03 [email protected] [pigeon] Allow multi instance support with message channel name suffix (flutter/packages#6224) 2024-04-03 [email protected] [Tool] Add ability to check dependencies independently of dev-dependencies, exclude integration_test from dependencies (flutter/packages#6446) 2024-04-03 [email protected] Roll Flutter from a418568 to e868e2b (34 revisions) (flutter/packages#6455) 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://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter/packages@0e848fa...dce6f0c 2024-04-04 49699333+dependabot[bot]@users.noreply.github.com Bump lewagon/wait-on-check-action from 1.3.3 to 1.3.4 (flutter/packages#6459) 2024-04-03 [email protected] [pigeon] Allow multi instance support with message channel name suffix (flutter/packages#6224) 2024-04-03 [email protected] [Tool] Add ability to check dependencies independently of dev-dependencies, exclude integration_test from dependencies (flutter/packages#6446) 2024-04-03 [email protected] Roll Flutter from a418568 to e868e2b (34 revisions) (flutter/packages#6455) 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://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter#6224) Adds the ability to instantiate any api using a suffix string to allow for unique instances. partial flutter/flutter#66710
flutter#6224) Adds the ability to instantiate any api using a suffix string to allow for unique instances. partial flutter/flutter#66710
Adds the ability to instantiate any api using a suffix string to allow for unique instances.
partial flutter/flutter#66710
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to 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.