-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Setup channels during IntegrationTest registration on iOS #123729
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
+ (IntegrationTestPlugin *)instance; | ||
|
||
- (void)setupChannels:(id<FlutterBinaryMessenger>)binaryMessenger; | ||
+ (instancetype)instance; |
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.
Made this instancetype
, that wasn't part of the revert.
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!
}]; | ||
FlutterMethodChannel *channel = [FlutterMethodChannel methodChannelWithName:kIntegrationTestPluginChannel | ||
binaryMessenger:registrar.messenger]; | ||
[registrar addMethodCallDelegate:[self instance] channel:channel]; |
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.
For future archeologists: The addMethodCallDelegate
does the setMethodCallHandler
logic that was originally used, so this is semantically the same as the previous setMethodCallHandler
call.
…3729) Setup channels during IntegrationTest registration on iOS
@pdblasi-google Hello, could you please tell me when do you expect this fix to be part of what future release? |
From the release process docs this is already available in the |
Allow iOS integration_tests to run from
flutter drive
and not just Xcode.From #91668 (comment)
Reverts flutter/plugins#2465 (not a clean revert but essentially the same thing).
Fixes #91668
Closes #116539
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.