feat:更新注册api

master
luojian 2022-04-25 10:35:46 +08:00
parent 5e9b284bd9
commit 12996c70b6
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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