diff --git a/ios/Classes/MopPlugin.m b/ios/Classes/MopPlugin.m index 18ba4a9..b373cde 100644 --- a/ios/Classes/MopPlugin.m +++ b/ios/Classes/MopPlugin.m @@ -64,7 +64,12 @@ static MopPlugin *_instance; binaryMessenger:[registrar messenger]]; [registrar addMethodCallDelegate:_instance channel:appletShareChannel]; _instance.shareAppletMethodChannel = appletShareChannel; - + //phiz + FlutterMethodChannel* phizChannel = [FlutterMethodChannel + methodChannelWithName:@"Phiz" + binaryMessenger:[registrar messenger]]; + [registrar addMethodCallDelegate:_instance channel:phizChannel]; + _instance.phizMethodChannel = phizChannel; } + (instancetype)instance{