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