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

20 lines
518 B
Dart
Raw Permalink Normal View History

2022-05-20 13:37:12 +08:00
//
// MOP_removeAllUsedApplets.m
// mop
//
// Created by 胡健辉 on 2022/5/20.
//
#import "MOP_removeAllUsedApplets.h"
#import <FinApplet/FinApplet.h>
@implementation MOP_removeAllUsedApplets
- (void)setupApiWithSuccess:(void (^)(NSDictionary<NSString *,id> * _Nonnull))success failure:(void (^)(id _Nullable))failure cancel:(void (^)(void))cancel {
NSLog(@"removeAllUsedApplets");
[[FATClient sharedClient] clearLocalApplets];
[[FATClient sharedClient] clearMemoryCache];
success(@{});
}
@end