1.修复转发功能不可用的bug

master
wangzhaoyao 2023-02-09 11:03:50 +08:00
parent 7bfeffa810
commit 481dfb7778
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
@property MopEventStream *mopEventStreamHandler;
@property FlutterMethodChannel *methodChannel;
@property FlutterMethodChannel *shareMethodChannel;
@property FlutterMethodChannel *shareAppletMethodChannel;
@property FlutterMethodChannel *appletMethodChannel;
+ (instancetype) instance;

View File

@ -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;
}