From 12996c70b68d75c2d34239304118fbfe7c8ff3ef Mon Sep 17 00:00:00 2001 From: luojian Date: Mon, 25 Apr 2022 10:35:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=9B=B4=E6=96=B0=E6=B3=A8=E5=86=8Capi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Classes/Api/MOB_addWebExtentionApi.m | 2 +- ios/Classes/Api/MOP_registerExtensionApi.m | 2 +- ios/mop.podspec | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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