新增removeAllUsedApplets
parent
0c285e6e5f
commit
4ef7335749
|
@ -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
|
|
@ -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
|
|
@ -17,7 +17,7 @@ A finclip miniprogram flutter sdk.
|
||||||
s.dependency 'Flutter'
|
s.dependency 'Flutter'
|
||||||
s.ios.deployment_target = '9.0'
|
s.ios.deployment_target = '9.0'
|
||||||
|
|
||||||
s.dependency 'FinApplet' , '2.37.0-alpha20220428v07'
|
s.dependency 'FinApplet' , '2.37.0-alpha20220520v03'
|
||||||
s.dependency 'FinAppletExt' , '2.37.0-alpha20220428v07'
|
s.dependency 'FinAppletExt' , '2.37.0-alpha20220520v03'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue