Sfoglia il codice sorgente

IPU框架标准版:删除getClientResourceVersion插件

liufl5 4 anni fa
parent
commit
c8ad83c34a

+ 10 - 1
IPUCommon/IPUMobileFunc.framework/Headers/IPUNetworkPlugin.h

@ -17,9 +17,18 @@
17 17
18 18
- (void)httpRequest:(NSArray *)param;
19 19
20
// 数据请求接口,供外部接口(JS)调用
20
// 数据请求接口:同步,供外部接口(JS)调用
21 21
- (void)dataRequest:(NSArray *)param;
22 22
23
// 数据请求接口:异步,供外部接口(JS)调用
24
- (void)dataRequestAsyn:(NSArray *)param;
25
26
// 数据加密接口,供外部接口(JS)调用
27
- (void)dataEncrypt:(NSArray *)param;
28
29
// 数据解密接口,供外部接口(JS)调用
30
- (void)dataDecrypt:(NSArray *)param;
31
23 32
- (void)shareByBluetooth:(NSArray *)param;
24 33
25 34
- (void)httpDownloadFile:(NSArray *)param;

+ 0 - 18
IPUCommon/IPUMobileFunc.framework/Headers/IPUResourceVersionPlugin.h

@ -1,18 +0,0 @@
1
//
2
//  IPUResourceVersionPlugin.h
3
//  IPUMobileFunc
4
//
5
//  Created by 秋林 on 2019/1/18.
6
//  Copyright © 2019 Asiainfo. All rights reserved.
7
//
8
9
#import <IPUMobile/IPUMobile.h>
10
11
@interface IPUResourceVersionPlugin : IPUPlugin
12
13
/*
14
 从客户端缓存中获取资源版本号ResourceVersion
15
 */
16
- (void)getClientResourceVersion:(NSArray *)params;
17
18
@end

BIN
IPUCommon/IPUMobileFunc.framework/IPUMobileFunc


+ 0 - 8
IPUMobileFunc/IPUMobileFunc.xcodeproj/project.pbxproj

@ -60,8 +60,6 @@
60 60
		B28E568F21F1A8F500422D15 /* IPUCameraPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = B28E568D21F1A8F500422D15 /* IPUCameraPlugin.m */; };
61 61
		B28E569A21F1AE0600422D15 /* IPUImageCachePlugin.h in Headers */ = {isa = PBXBuildFile; fileRef = B28E569821F1AE0600422D15 /* IPUImageCachePlugin.h */; settings = {ATTRIBUTES = (Public, ); }; };
62 62
		B28E569B21F1AE0600422D15 /* IPUImageCachePlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = B28E569921F1AE0600422D15 /* IPUImageCachePlugin.m */; };
63
		B28E569E21F1B02000422D15 /* IPUResourceVersionPlugin.h in Headers */ = {isa = PBXBuildFile; fileRef = B28E569C21F1B02000422D15 /* IPUResourceVersionPlugin.h */; settings = {ATTRIBUTES = (Public, ); }; };
64
		B28E569F21F1B02000422D15 /* IPUResourceVersionPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = B28E569D21F1B02000422D15 /* IPUResourceVersionPlugin.m */; };
65 63
		B28E56A221F1B0C900422D15 /* IPUDatabasePlugin.h in Headers */ = {isa = PBXBuildFile; fileRef = B28E56A021F1B0C900422D15 /* IPUDatabasePlugin.h */; settings = {ATTRIBUTES = (Public, ); }; };
66 64
		B28E56A621F1B24F00422D15 /* IPUContactsPlugin.h in Headers */ = {isa = PBXBuildFile; fileRef = B28E56A421F1B24F00422D15 /* IPUContactsPlugin.h */; settings = {ATTRIBUTES = (Public, ); }; };
67 65
		B28E56AA21F1B3CE00422D15 /* IPUAudioPlugin.h in Headers */ = {isa = PBXBuildFile; fileRef = B28E56A821F1B3CE00422D15 /* IPUAudioPlugin.h */; settings = {ATTRIBUTES = (Public, ); }; };
@ -156,8 +154,6 @@
156 154
		B28E568D21F1A8F500422D15 /* IPUCameraPlugin.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = IPUCameraPlugin.m; sourceTree = "<group>"; };
157 155
		B28E569821F1AE0600422D15 /* IPUImageCachePlugin.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IPUImageCachePlugin.h; sourceTree = "<group>"; };
158 156
		B28E569921F1AE0600422D15 /* IPUImageCachePlugin.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = IPUImageCachePlugin.m; sourceTree = "<group>"; };
159
		B28E569C21F1B02000422D15 /* IPUResourceVersionPlugin.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IPUResourceVersionPlugin.h; sourceTree = "<group>"; };
160
		B28E569D21F1B02000422D15 /* IPUResourceVersionPlugin.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = IPUResourceVersionPlugin.m; sourceTree = "<group>"; };
161 157
		B28E56A021F1B0C900422D15 /* IPUDatabasePlugin.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IPUDatabasePlugin.h; sourceTree = "<group>"; };
162 158
		B28E56A121F1B0C900422D15 /* IPUDatabasePlugin.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = IPUDatabasePlugin.m; sourceTree = "<group>"; };
163 159
		B28E56A421F1B24F00422D15 /* IPUContactsPlugin.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IPUContactsPlugin.h; sourceTree = "<group>"; };
@ -292,8 +288,6 @@
292 288
				B28E56C121F1BBA800422D15 /* IPUStoragePlugin.m */,
293 289
				B28E569821F1AE0600422D15 /* IPUImageCachePlugin.h */,
294 290
				B28E569921F1AE0600422D15 /* IPUImageCachePlugin.m */,
295
				B28E569C21F1B02000422D15 /* IPUResourceVersionPlugin.h */,
296
				B28E569D21F1B02000422D15 /* IPUResourceVersionPlugin.m */,
297 291
				B28E56C421F1BCCA00422D15 /* IPUMobileUIPlugin.h */,
298 292
				B28E56C521F1BCCA00422D15 /* IPUMobileUIPlugin.m */,
299 293
				B28E56D021F1C39700422D15 /* IPUSystemPermissionPlugin.h */,
@ -403,7 +397,6 @@
403 397
				B273BFDE2468F0C800A96CEE /* IPUVerifyCodePlugin.h in Headers */,
404 398
				B281A32A22CB3C6300D69B25 /* IPUFilesUtil.h in Headers */,
405 399
				B2EB0F2123A7287E00EBB34D /* IPUAMapPlugin.h in Headers */,
406
				B28E569E21F1B02000422D15 /* IPUResourceVersionPlugin.h in Headers */,
407 400
				B28E56C221F1BBA800422D15 /* IPUStoragePlugin.h in Headers */,
408 401
				B28E567A21F18C1C00422D15 /* UIImage+Rotate.h in Headers */,
409 402
				B28E568E21F1A8F500422D15 /* IPUCameraPlugin.h in Headers */,
@ -527,7 +520,6 @@
527 520
				B281A33C22CC877700D69B25 /* IPUFilePlugin.m in Sources */,
528 521
				B20C89672397AFF900471783 /* IPUVideoRecordPlugin.m in Sources */,
529 522
				B28E56D721F1C3D100422D15 /* IPUAuthenticationPlugin.m in Sources */,
530
				B28E569F21F1B02000422D15 /* IPUResourceVersionPlugin.m in Sources */,
531 523
				B281A33A22CC84A100D69B25 /* IPUContactsPlugin.m in Sources */,
532 524
				B28E56AF21F1B4EA00422D15 /* IPUBasicPlugin.m in Sources */,
533 525
				B281A32B22CB3C6300D69B25 /* IPUFilesUtil.m in Sources */,

+ 0 - 18
IPUMobileFunc/IPUMobileFunc/IPUResourceVersionPlugin.h

@ -1,18 +0,0 @@
1
//
2
//  IPUResourceVersionPlugin.h
3
//  IPUMobileFunc
4
//
5
//  Created by 秋林 on 2019/1/18.
6
//  Copyright © 2019 Asiainfo. All rights reserved.
7
//
8
9
#import <IPUMobile/IPUMobile.h>
10
11
@interface IPUResourceVersionPlugin : IPUPlugin
12
13
/*
14
 从客户端缓存中获取资源版本号ResourceVersion
15
 */
16
- (void)getClientResourceVersion:(NSArray *)params;
17
18
@end

+ 0 - 26
IPUMobileFunc/IPUMobileFunc/IPUResourceVersionPlugin.m

@ -1,26 +0,0 @@
1
//
2
//  IPUResourceVersionPlugin.m
3
//  IPUMobileFunc
4
//
5
//  Created by 秋林 on 2019/1/18.
6
//  Copyright © 2019 Asiainfo. All rights reserved.
7
//
8
9
#import "IPUResourceVersionPlugin.h"
10
11
#import <IPUMobile/IPUResVersionManager.h>
12
13
@implementation IPUResourceVersionPlugin
14
15
- (void)getClientResourceVersion:(NSArray *)params {
16
    // 获取服务端资源版本号
17
    NSString *versionKey = [NSString stringWithFormat:@"%@_%@", [IPUAppManager getCurrAppId], @"RESOURCE_VERSION_CACHE"];
18
    NSString *localResourceVersion = [[NSUserDefaults standardUserDefaults] objectForKey:versionKey];
19
    if (localResourceVersion) {
20
        [self callback:localResourceVersion];
21
    } else {
22
        [self callback:@""];
23
    }
24
}
25
26
@end

+ 0 - 3
display-center/Res/config/mobile-action.xml

@ -176,9 +176,6 @@
176 176
    
177 177
    <action name="openRN" class="IPUMobileRNPlugin" method="openRN"/>
178 178
    
179
    <!-- 从客户端缓存获取资源版本号 -->
180
    <action name="getClientResourceVersion" class="IPUResourceVersionPlugin" method="getClientResourceVersion"></action>
181
    
182 179
    <!-- 指纹解锁 -->
183 180
    <action name="isSupportFingerprintAuthentication" class="IPUAuthenticationPlugin" method="isSupportFingerprintAuthentication"></action>
184 181
    <action name="fingerprintAuthentication"          class="IPUAuthenticationPlugin" method="fingerprintAuthentication"></action>

BIN
display-center/display-center.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate