From 4daa04ad28f12f2c104ef97d0d7689cd0fb4c62e Mon Sep 17 00:00:00 2001 From: Sean Date: Wed, 17 Jan 2024 18:14:59 +0800 Subject: [PATCH] jx1 --- ios/Classes/MopPlugin.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Classes/MopPlugin.m b/ios/Classes/MopPlugin.m index f6678f2..5b1fb92 100644 --- a/ios/Classes/MopPlugin.m +++ b/ios/Classes/MopPlugin.m @@ -151,7 +151,7 @@ static MopPlugin *_instance; } else if ([@"getMiniShareInfo" isEqualToString:call.method]) { 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) { if([result2 isKindOfClass:[FlutterError class]]|| [result2 isKindOfClass:[FlutterMethodNotImplemented class] ]) {