mop-flutter-sdk/ios/Classes/Api/MOP_clearApplets.m

23 lines
516 B
Dart
Raw Permalink Normal View History

2020-04-26 14:57:08 +08:00
//
// MOP_clearApplets.m
// mop
//
// Created by 康旭耀 on 2020/4/16.
//
#import "MOP_clearApplets.h"
#import <FinApplet/FinApplet.h>
@implementation MOP_clearApplets
- (void)setupApiWithSuccess:(void (^)(NSDictionary<NSString *,id> * _Nonnull))success failure:(void (^)(id _Nullable))failure cancel:(void (^)(void))cancel
{
NSLog(@"clearApplets");
2024-08-21 09:26:56 +08:00
[[FATClient sharedClient] closeAllAppletsWithCompletion:^{
[[FATClient sharedClient] clearMemoryCache];
success(@{});
}];
2020-04-26 14:57:08 +08:00
}
@end