From 481dfb777814984fbd2f6f6135c5e0384a857240 Mon Sep 17 00:00:00 2001 From: wangzhaoyao Date: Thu, 9 Feb 2023 11:03:50 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E8=BD=AC=E5=8F=91=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E4=B8=8D=E5=8F=AF=E7=94=A8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Classes/MopPlugin.h | 1 + ios/Classes/MopPlugin.m | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ios/Classes/MopPlugin.h b/ios/Classes/MopPlugin.h index cd478db..62cb5f0 100644 --- a/ios/Classes/MopPlugin.h +++ b/ios/Classes/MopPlugin.h @@ -8,6 +8,7 @@ @property MopEventStream *mopEventStreamHandler; @property FlutterMethodChannel *methodChannel; @property FlutterMethodChannel *shareMethodChannel; +@property FlutterMethodChannel *shareAppletMethodChannel; @property FlutterMethodChannel *appletMethodChannel; + (instancetype) instance; diff --git a/ios/Classes/MopPlugin.m b/ios/Classes/MopPlugin.m index dcf2649..95c2fb8 100644 --- a/ios/Classes/MopPlugin.m +++ b/ios/Classes/MopPlugin.m @@ -63,7 +63,7 @@ static MopPlugin *_instance; methodChannelWithName:@"plugins.finosprite.finogeeks.com/share_applet" binaryMessenger:[registrar messenger]]; [registrar addMethodCallDelegate:_instance channel:appletShareChannel]; - _instance.shareMethodChannel = appletShareChannel; + _instance.shareAppletMethodChannel = appletShareChannel; }