Reland isolate platform channels with conditional compilation (#111712)
This commit is contained in:
@@ -114,7 +114,18 @@ const UInt8 PAIR = 129;
|
||||
[FlutterMethodChannel methodChannelWithName:@"std-method"
|
||||
binaryMessenger:flutterController
|
||||
codec:[FlutterStandardMethodCodec codecWithReaderWriter:extendedReaderWriter]]];
|
||||
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
||||
|
||||
[[FlutterBasicMessageChannel
|
||||
messageChannelWithName:@"std-echo"
|
||||
binaryMessenger:flutterController
|
||||
codec:[FlutterStandardMessageCodec
|
||||
codecWithReaderWriter:extendedReaderWriter]]
|
||||
setMessageHandler:^(id message, FlutterReply reply) {
|
||||
reply(message);
|
||||
}];
|
||||
|
||||
return [super application:application
|
||||
didFinishLaunchingWithOptions:launchOptions];
|
||||
}
|
||||
|
||||
- (void)setupMessagingHandshakeOnChannel:(FlutterBasicMessageChannel*)channel {
|
||||
|
||||
Reference in New Issue
Block a user