From b3934a12895d255cf882e94440d9e7c31373fa81 Mon Sep 17 00:00:00 2001 From: wangtao Date: Fri, 9 Jul 2021 17:07:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E6=B3=A8=E5=85=A5?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E8=BF=94=E5=9B=9E=E7=BB=93=E6=9E=9C=E7=9A=84?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Classes/Api/MOP_registerExtensionApi.m | 5 ++++- ios/mop.podspec | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ios/Classes/Api/MOP_registerExtensionApi.m b/ios/Classes/Api/MOP_registerExtensionApi.m index d9f1035..f4fd119 100644 --- a/ios/Classes/Api/MOP_registerExtensionApi.m +++ b/ios/Classes/Api/MOP_registerExtensionApi.m @@ -21,11 +21,14 @@ NSLog(@"%@",param); NSString* api = [@"extensionApi:" stringByAppendingString:self.name]; [channel invokeMethod:api arguments:param result:^(id _Nullable result) { - if([result isKindOfClass:[FlutterError class]]|| [result isKindOfClass:[FlutterMethodNotImplemented class] ]) + NSLog(@"extensionApi reslut:%@",result); + if([result isKindOfClass:[FlutterError class]] || result == FlutterMethodNotImplemented) { + NSLog(@"extensionApi reslut:fail"); callback(FATExtensionCodeFailure,nil); }else { + NSLog(@"extensionApi callback:%@",result); callback(FATExtensionCodeSuccess,result); } }]; diff --git a/ios/mop.podspec b/ios/mop.podspec index 0d73c3f..9f65495 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.31.0-alpha20210630v04' - s.dependency 'FinAppletExt' , '2.31.0-alpha20210630v04' + s.dependency 'FinApplet' , '2.32.0-alpha20210709v02' + s.dependency 'FinAppletExt' , '2.32.0-alpha20210709v02' end