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

22 lines
485 B
Dart
Raw 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");
[[FATClient sharedClient]clearMemoryCache];
[[FATClient sharedClient]clearLocalApplets];
success(@{});
}
@end