新增removeAllUsedApplets

master
胡健辉 2022-05-20 13:37:12 +08:00
parent 0c285e6e5f
commit 4ef7335749
3 changed files with 37 additions and 2 deletions

View File

@ -0,0 +1,16 @@
//
// MOP_removeAllUsedApplets.h
// mop
//
// Created by on 2022/5/20.
//
#import <mop/mop.h>
NS_ASSUME_NONNULL_BEGIN
@interface MOP_removeAllUsedApplets : MOPBaseApi
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,19 @@
//
// 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

View File

@ -17,7 +17,7 @@ A finclip miniprogram flutter sdk.
s.dependency 'Flutter'
s.ios.deployment_target = '9.0'
s.dependency 'FinApplet' , '2.37.0-alpha20220428v07'
s.dependency 'FinAppletExt' , '2.37.0-alpha20220428v07'
s.dependency 'FinApplet' , '2.37.0-alpha20220520v03'
s.dependency 'FinAppletExt' , '2.37.0-alpha20220520v03'
end