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