master
yangtao 2020-12-10 17:53:10 +08:00
parent 3f96bafef7
commit c7eeec526f
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
9b8dc99cc1898757c03a06b2261ab8de

View File

@ -22,7 +22,7 @@
- (void)forwardAppletWithInfo:(NSDictionary *)contentInfo completion:(void (^)(FATExtensionCode, NSDictionary *))completion - (void)forwardAppletWithInfo:(NSDictionary *)contentInfo completion:(void (^)(FATExtensionCode, NSDictionary *))completion
{ {
NSLog(@"forwardAppletWithInfo:%@",contentInfo); NSLog(@"forwardAppletWithInfo1:%@",contentInfo);
FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel]; FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel];
[channel invokeMethod:@"extensionApi:forwardApplet" arguments:@{@"appletInfo":contentInfo} result:^(id _Nullable result) { [channel invokeMethod:@"extensionApi:forwardApplet" arguments:@{@"appletInfo":contentInfo} result:^(id _Nullable result) {
if([result isKindOfClass:[FlutterError class]]|| [result isKindOfClass:[FlutterMethodNotImplemented class] ]) if([result isKindOfClass:[FlutterError class]]|| [result isKindOfClass:[FlutterMethodNotImplemented class] ])