phiz_2.42.13.4
Sean 2024-01-17 18:14:59 +08:00
parent 07ccc4ed4f
commit 4daa04ad28
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ static MopPlugin *_instance;
} }
else if ([@"getMiniShareInfo" isEqualToString:call.method]) { else if ([@"getMiniShareInfo" isEqualToString:call.method]) {
NSString *appId = call.arguments[@"appId"]; NSString *appId = call.arguments[@"appId"];
FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel]; FlutterMethodChannel *channel = [[MopPlugin instance] shareMethodChannel];
[channel invokeMethod:@"extensionApi:forwardApplet" arguments:@{@"appletInfo":contentInfo} result:^(id _Nullable result2) { [channel invokeMethod:@"extensionApi:forwardApplet" arguments:@{@"appletInfo":contentInfo} result:^(id _Nullable result2) {
if([result2 isKindOfClass:[FlutterError class]]|| [result2 isKindOfClass:[FlutterMethodNotImplemented class] ]) if([result2 isKindOfClass:[FlutterError class]]|| [result2 isKindOfClass:[FlutterMethodNotImplemented class] ])
{ {