diff --git a/ios/Classes/MopPlugin.m b/ios/Classes/MopPlugin.m index f62cda1..2532b7d 100644 --- a/ios/Classes/MopPlugin.m +++ b/ios/Classes/MopPlugin.m @@ -67,7 +67,7 @@ static MopPlugin *_instance; _instance.shareAppletMethodChannel = appletShareChannel; //phiz FlutterMethodChannel* phizChannel = [FlutterMethodChannel - methodChannelWithName:@"Phiz" + methodChannelWithName:@"miniProgram" binaryMessenger:[registrar messenger]]; [registrar addMethodCallDelegate:_instance channel:phizChannel]; _instance.phizMethodChannel = phizChannel;