diff --git a/ios/Classes/Api/MOB_addWebExtentionApi.m b/ios/Classes/Api/MOB_addWebExtentionApi.m index ba81192..579155d 100644 --- a/ios/Classes/Api/MOB_addWebExtentionApi.m +++ b/ios/Classes/Api/MOB_addWebExtentionApi.m @@ -15,7 +15,7 @@ { NSLog(@"MOB_addWebExtentionApi"); FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel]; - [[FATClient sharedClient] fat_registerWebApi:self.name handle:^(id param, FATExtensionApiCallback callback) { + [[FATClient sharedClient] fat_registerWebApi:self.name handle:^(FATAppletInfo *appletInfo, id param, FATExtensionApiCallback callback) { NSLog(@"invoke webExtentionApi:"); NSLog(@"%@",self.name); NSLog(@"%@",param); diff --git a/ios/Classes/Api/MOP_registerExtensionApi.m b/ios/Classes/Api/MOP_registerExtensionApi.m index c1dedaf..891cc77 100644 --- a/ios/Classes/Api/MOP_registerExtensionApi.m +++ b/ios/Classes/Api/MOP_registerExtensionApi.m @@ -15,7 +15,7 @@ { NSLog(@"MOP_registerExtensionApi"); FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel]; - [[FATClient sharedClient] registerExtensionApi:self.name handle:^(id param, FATExtensionApiCallback callback) { + [[FATClient sharedClient] registerExtensionApi:self.name handle:^(FATAppletInfo *appletInfo, id param, FATExtensionApiCallback callback) { NSLog(@"invoke ExtensionApi:"); NSLog(@"%@",self.name); NSLog(@"%@",param); diff --git a/ios/mop.podspec b/ios/mop.podspec index 7a375bc..4f2542c 100644 --- a/ios/mop.podspec +++ b/ios/mop.podspec @@ -17,7 +17,7 @@ A finclip miniprogram flutter sdk. s.dependency 'Flutter' s.ios.deployment_target = '9.0' - s.dependency 'FinApplet' , '2.36.0-alpha20220323v02' - s.dependency 'FinAppletExt' , '2.36.0-alpha20220323v02' + s.dependency 'FinApplet' , '2.37.0-alpha20220424v06' + s.dependency 'FinAppletExt' , '2.37.0-alpha20220424v06' end