feat:更新注册api
parent
5e9b284bd9
commit
12996c70b6
|
@ -15,7 +15,7 @@
|
||||||
{
|
{
|
||||||
NSLog(@"MOB_addWebExtentionApi");
|
NSLog(@"MOB_addWebExtentionApi");
|
||||||
FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel];
|
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(@"invoke webExtentionApi:");
|
||||||
NSLog(@"%@",self.name);
|
NSLog(@"%@",self.name);
|
||||||
NSLog(@"%@",param);
|
NSLog(@"%@",param);
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
{
|
{
|
||||||
NSLog(@"MOP_registerExtensionApi");
|
NSLog(@"MOP_registerExtensionApi");
|
||||||
FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel];
|
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(@"invoke ExtensionApi:");
|
||||||
NSLog(@"%@",self.name);
|
NSLog(@"%@",self.name);
|
||||||
NSLog(@"%@",param);
|
NSLog(@"%@",param);
|
||||||
|
|
|
@ -17,7 +17,7 @@ A finclip miniprogram flutter sdk.
|
||||||
s.dependency 'Flutter'
|
s.dependency 'Flutter'
|
||||||
s.ios.deployment_target = '9.0'
|
s.ios.deployment_target = '9.0'
|
||||||
|
|
||||||
s.dependency 'FinApplet' , '2.36.0-alpha20220323v02'
|
s.dependency 'FinApplet' , '2.37.0-alpha20220424v06'
|
||||||
s.dependency 'FinAppletExt' , '2.36.0-alpha20220323v02'
|
s.dependency 'FinAppletExt' , '2.37.0-alpha20220424v06'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue