Merge branch 'master' of ssh://gitlab.finogeeks.club:2233/finclipsdk/finclip-flutter-sdk

master
wanghualei 2021-06-19 13:40:04 +08:00
commit 41e83dd22d
2 changed files with 3 additions and 2 deletions

View File

@ -48,6 +48,7 @@
return;
}
[[FATExtClient sharedClient] fat_prepareExtensionApis];
[[FATClient sharedClient] setEnableLog:YES];
success(@{});

View File

@ -15,8 +15,8 @@
NSLog(@"MOP_scanOpenApplet%@", self.info);
FATAppletDecryptRequest *req = [[FATAppletDecryptRequest alloc] init];
req.info = self.info;
UIViewController *currentVC = [MOPTools topViewController];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.25 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
UIViewController *currentVC = [MOPTools topViewController];
[[FATClient sharedClient] startAppletWithDecryptRequest:req InParentViewController:currentVC completion:^(BOOL result, FATError *error) {
NSLog(@"打开小程序:%@", error);
} closeCompletion:^{