Skip to content

Commit 2956bdb

Browse files
committed
iOS 插件升级到2.6.7,适配rn 0.6.3
1 parent 0770df0 commit 2956bdb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+956
-375
lines changed

example/ios/Podfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ target 'example' do
88
config = use_native_modules!
99

1010
use_react_native!(:path => config["reactNativePath"])
11+
pod 'jverification-react-native', :path => '../../'
1112

1213

1314
# Enables Flipper.

example/ios/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ PODS:
2121
- glog (0.3.5)
2222
- JCore (1.7.0):
2323
- React
24-
- JVerification (2.3.0):
24+
- jverification-react-native (2.3.0):
2525
- React
2626
- RCTRequired (0.63.4)
2727
- RCTTypeSafety (0.63.4):
@@ -258,7 +258,7 @@ DEPENDENCIES:
258258
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
259259
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
260260
- JCore (from `../node_modules/jcore-react-native`)
261-
- JVerification (from `../node_modules/jverification-react-native`)
261+
- jverification-react-native (from `../../`)
262262
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
263263
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
264264
- React (from `../node_modules/react-native/`)
@@ -300,8 +300,8 @@ EXTERNAL SOURCES:
300300
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
301301
JCore:
302302
:path: "../node_modules/jcore-react-native"
303-
JVerification:
304-
:path: "../node_modules/jverification-react-native"
303+
jverification-react-native:
304+
:path: "../../"
305305
RCTRequired:
306306
:path: "../node_modules/react-native/Libraries/RCTRequired"
307307
RCTTypeSafety:
@@ -353,7 +353,7 @@ SPEC CHECKSUMS:
353353
Folly: b73c3869541e86821df3c387eb0af5f65addfab4
354354
glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3
355355
JCore: 1b194730ed1b97a7b06cab763e6f75a1444a2d04
356-
JVerification: fc89c508448e087288cf41c8ef2c2a99a44fba27
356+
jverification-react-native: 03fee91204548f71f6c5f16ce1e7244d832a2589
357357
RCTRequired: 082f10cd3f905d6c124597fd1c14f6f2655ff65e
358358
RCTTypeSafety: 8c9c544ecbf20337d069e4ae7fd9a377aadf504b
359359
React: b0a957a2c44da4113b0c4c9853d8387f8e64e615
@@ -376,6 +376,6 @@ SPEC CHECKSUMS:
376376
ReactCommon: 73d79c7039f473b76db6ff7c6b159c478acbbb3b
377377
Yoga: 4bd86afe9883422a7c4028c00e34790f560923d6
378378

379-
PODFILE CHECKSUM: 53cf17044a961efa6d190a055e33e3ccda10f776
379+
PODFILE CHECKSUM: 407c78f91174bb42a1b06c7b338f56d56733dff5
380380

381381
COCOAPODS: 1.10.0

example/ios/example.xcodeproj/project.pbxproj

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@
2323
remoteGlobalIDString = 6212E9B41F3990DC00BDF51A;
2424
remoteInfo = RCTJCoreModule;
2525
};
26-
5CE4DCCE2374057B004FE764 /* PBXContainerItemProxy */ = {
27-
isa = PBXContainerItemProxy;
28-
containerPortal = 5CE4DCCA2374057B004FE764 /* RCTJVerificationModule.xcodeproj */;
29-
proxyType = 2;
30-
remoteGlobalIDString = 62890E502190232500803A2B;
31-
remoteInfo = RCTJVerificationModule;
32-
};
3326
/* End PBXContainerItemProxy section */
3427

3528
/* Begin PBXFileReference section */
@@ -43,7 +36,6 @@
4336
14E21A81D379A335288ADB38 /* Pods-example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.debug.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.debug.xcconfig"; sourceTree = "<group>"; };
4437
5C103CA823605A2E000AD3DA /* JVerificationResource.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = JVerificationResource.bundle; sourceTree = "<group>"; };
4538
5CE4DCC423740560004FE764 /* RCTJCoreModule.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTJCoreModule.xcodeproj; path = "../node_modules/jcore-react-native/ios/RCTJCoreModule.xcodeproj"; sourceTree = "<group>"; };
46-
5CE4DCCA2374057B004FE764 /* RCTJVerificationModule.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTJVerificationModule.xcodeproj; path = "../node_modules/jverification-react-native/ios/RCTJVerificationModule.xcodeproj"; sourceTree = "<group>"; };
4739
7C94467A3A3E7715FA98BF76 /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4840
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
4941
ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
@@ -103,18 +95,9 @@
10395
name = Products;
10496
sourceTree = "<group>";
10597
};
106-
5CE4DCCB2374057B004FE764 /* Products */ = {
107-
isa = PBXGroup;
108-
children = (
109-
5CE4DCCF2374057B004FE764 /* libRCTJVerificationModule.a */,
110-
);
111-
name = Products;
112-
sourceTree = "<group>";
113-
};
11498
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
11599
isa = PBXGroup;
116100
children = (
117-
5CE4DCCA2374057B004FE764 /* RCTJVerificationModule.xcodeproj */,
118101
5CE4DCC423740560004FE764 /* RCTJCoreModule.xcodeproj */,
119102
);
120103
name = Libraries;
@@ -198,10 +181,6 @@
198181
ProductGroup = 5CE4DCC523740560004FE764 /* Products */;
199182
ProjectRef = 5CE4DCC423740560004FE764 /* RCTJCoreModule.xcodeproj */;
200183
},
201-
{
202-
ProductGroup = 5CE4DCCB2374057B004FE764 /* Products */;
203-
ProjectRef = 5CE4DCCA2374057B004FE764 /* RCTJVerificationModule.xcodeproj */;
204-
},
205184
);
206185
projectRoot = "";
207186
targets = (
@@ -218,13 +197,6 @@
218197
remoteRef = 5CE4DCC823740560004FE764 /* PBXContainerItemProxy */;
219198
sourceTree = BUILT_PRODUCTS_DIR;
220199
};
221-
5CE4DCCF2374057B004FE764 /* libRCTJVerificationModule.a */ = {
222-
isa = PBXReferenceProxy;
223-
fileType = archive.ar;
224-
path = libRCTJVerificationModule.a;
225-
remoteRef = 5CE4DCCE2374057B004FE764 /* PBXContainerItemProxy */;
226-
sourceTree = BUILT_PRODUCTS_DIR;
227-
};
228200
/* End PBXReferenceProxy section */
229201

230202
/* Begin PBXResourcesBuildPhase section */

ios/RCTJVerificationModule.xcodeproj/project.pbxproj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
5C503AEC235AF9F1002C58EF /* libjverification-ios-2.5.1.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C503AEB235AF9F1002C58EF /* libjverification-ios-2.5.1.a */; };
1110
5CEEEC422361C4CD0072E0C1 /* EAccountApiSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CEEEC3E2361C4CD0072E0C1 /* EAccountApiSDK.framework */; };
12-
5CEEEC432361C4CD0072E0C1 /* TYRZSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CEEEC3F2361C4CD0072E0C1 /* TYRZSDK.framework */; };
1311
5CEEEC442361C4CD0072E0C1 /* account_login_sdk_noui_core.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CEEEC402361C4CD0072E0C1 /* account_login_sdk_noui_core.framework */; };
14-
5CEEEC472361C5080072E0C1 /* account_verify_sdk_core.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CEEEC462361C5080072E0C1 /* account_verify_sdk_core.framework */; };
1512
5CEEEC492361C5210072E0C1 /* libc++.1.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CEEEC482361C5210072E0C1 /* libc++.1.tbd */; };
16-
624A30E3219B018B00B72BAF /* TYRZNoUISDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 624A30E0219B018B00B72BAF /* TYRZNoUISDK.framework */; };
1713
62890E552190232500803A2B /* RCTJVerificationModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 62890E542190232500803A2B /* RCTJVerificationModule.m */; };
1814
62890E562190232500803A2B /* RCTJVerificationModule.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 62890E532190232500803A2B /* RCTJVerificationModule.h */; };
1915
62890E6721902C3B00803A2B /* AdSupport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 62890E6621902C3B00803A2B /* AdSupport.framework */; };
@@ -28,6 +24,10 @@
2824
62890E7921902C8400803A2B /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 62890E7821902C8400803A2B /* CoreGraphics.framework */; };
2925
62890E7B21902C9400803A2B /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 62890E7A21902C9400803A2B /* libsqlite3.tbd */; };
3026
62890E7D21902C9A00803A2B /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 62890E7C21902C9A00803A2B /* MobileCoreServices.framework */; };
27+
9D41558125B2E71100C27629 /* OAuth.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9D41557D25B2E71100C27629 /* OAuth.framework */; };
28+
9D41558225B2E71100C27629 /* jverification-ios-2.6.7.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9D41557E25B2E71100C27629 /* jverification-ios-2.6.7.a */; };
29+
9D41558325B2E71100C27629 /* TYRZUISDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9D41557F25B2E71100C27629 /* TYRZUISDK.framework */; };
30+
9D41558425B2E71100C27629 /* ESOneKeyLogin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9D41558025B2E71100C27629 /* ESOneKeyLogin.framework */; };
3131
/* End PBXBuildFile section */
3232

3333
/* Begin PBXCopyFilesBuildPhase section */
@@ -44,14 +44,10 @@
4444
/* End PBXCopyFilesBuildPhase section */
4545

4646
/* Begin PBXFileReference section */
47-
5C503AEB235AF9F1002C58EF /* libjverification-ios-2.5.1.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libjverification-ios-2.5.1.a"; path = "RCTJVerificationModule/libjverification-ios-2.5.1.a"; sourceTree = "<group>"; };
4847
5CEEEC3E2361C4CD0072E0C1 /* EAccountApiSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = EAccountApiSDK.framework; sourceTree = "<group>"; };
49-
5CEEEC3F2361C4CD0072E0C1 /* TYRZSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TYRZSDK.framework; sourceTree = "<group>"; };
5048
5CEEEC402361C4CD0072E0C1 /* account_login_sdk_noui_core.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = account_login_sdk_noui_core.framework; sourceTree = "<group>"; };
51-
5CEEEC462361C5080072E0C1 /* account_verify_sdk_core.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = account_verify_sdk_core.framework; sourceTree = "<group>"; };
5249
5CEEEC482361C5210072E0C1 /* libc++.1.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.1.tbd"; path = "Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/libc++.1.tbd"; sourceTree = DEVELOPER_DIR; };
5350
624A30DD219B018700B72BAF /* JVERIFICATIONService.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JVERIFICATIONService.h; sourceTree = "<group>"; };
54-
624A30E0219B018B00B72BAF /* TYRZNoUISDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TYRZNoUISDK.framework; sourceTree = "<group>"; };
5551
62890E502190232500803A2B /* libRCTJVerificationModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTJVerificationModule.a; sourceTree = BUILT_PRODUCTS_DIR; };
5652
62890E532190232500803A2B /* RCTJVerificationModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTJVerificationModule.h; sourceTree = "<group>"; };
5753
62890E542190232500803A2B /* RCTJVerificationModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTJVerificationModule.m; sourceTree = "<group>"; };
@@ -67,6 +63,10 @@
6763
62890E7821902C8400803A2B /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
6864
62890E7A21902C9400803A2B /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; };
6965
62890E7C21902C9A00803A2B /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
66+
9D41557D25B2E71100C27629 /* OAuth.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = OAuth.framework; sourceTree = "<group>"; };
67+
9D41557E25B2E71100C27629 /* jverification-ios-2.6.7.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = "jverification-ios-2.6.7.a"; sourceTree = "<group>"; };
68+
9D41557F25B2E71100C27629 /* TYRZUISDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TYRZUISDK.framework; sourceTree = "<group>"; };
69+
9D41558025B2E71100C27629 /* ESOneKeyLogin.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = ESOneKeyLogin.framework; sourceTree = "<group>"; };
7070
/* End PBXFileReference section */
7171

7272
/* Begin PBXFrameworksBuildPhase section */
@@ -75,9 +75,7 @@
7575
buildActionMask = 2147483647;
7676
files = (
7777
5CEEEC492361C5210072E0C1 /* libc++.1.tbd in Frameworks */,
78-
5C503AEC235AF9F1002C58EF /* libjverification-ios-2.5.1.a in Frameworks */,
7978
62890E7D21902C9A00803A2B /* MobileCoreServices.framework in Frameworks */,
80-
5CEEEC432361C4CD0072E0C1 /* TYRZSDK.framework in Frameworks */,
8179
5CEEEC422361C4CD0072E0C1 /* EAccountApiSDK.framework in Frameworks */,
8280
62890E7B21902C9400803A2B /* libsqlite3.tbd in Frameworks */,
8381
62890E7921902C8400803A2B /* CoreGraphics.framework in Frameworks */,
@@ -86,11 +84,13 @@
8684
62890E7521902C6F00803A2B /* SystemConfiguration.framework in Frameworks */,
8785
62890E7321902C6700803A2B /* CoreTelephony.framework in Frameworks */,
8886
62890E7121902C5D00803A2B /* libz.tbd in Frameworks */,
87+
9D41558425B2E71100C27629 /* ESOneKeyLogin.framework in Frameworks */,
88+
9D41558325B2E71100C27629 /* TYRZUISDK.framework in Frameworks */,
8989
62890E6F21902C5600803A2B /* libresolv.tbd in Frameworks */,
9090
62890E6D21902C4E00803A2B /* CoreFoundation.framework in Frameworks */,
91-
5CEEEC472361C5080072E0C1 /* account_verify_sdk_core.framework in Frameworks */,
91+
9D41558125B2E71100C27629 /* OAuth.framework in Frameworks */,
9292
62890E6B21902C4600803A2B /* CFNetwork.framework in Frameworks */,
93-
624A30E3219B018B00B72BAF /* TYRZNoUISDK.framework in Frameworks */,
93+
9D41558225B2E71100C27629 /* jverification-ios-2.6.7.a in Frameworks */,
9494
62890E6921902C4100803A2B /* CoreLocation.framework in Frameworks */,
9595
62890E6721902C3B00803A2B /* AdSupport.framework in Frameworks */,
9696
);
@@ -119,12 +119,13 @@
119119
62890E522190232500803A2B /* RCTJVerificationModule */ = {
120120
isa = PBXGroup;
121121
children = (
122-
5CEEEC462361C5080072E0C1 /* account_verify_sdk_core.framework */,
122+
9D41558025B2E71100C27629 /* ESOneKeyLogin.framework */,
123+
9D41557E25B2E71100C27629 /* jverification-ios-2.6.7.a */,
124+
9D41557D25B2E71100C27629 /* OAuth.framework */,
125+
9D41557F25B2E71100C27629 /* TYRZUISDK.framework */,
123126
5CEEEC402361C4CD0072E0C1 /* account_login_sdk_noui_core.framework */,
124127
5CEEEC3E2361C4CD0072E0C1 /* EAccountApiSDK.framework */,
125-
5CEEEC3F2361C4CD0072E0C1 /* TYRZSDK.framework */,
126128
624A30DD219B018700B72BAF /* JVERIFICATIONService.h */,
127-
624A30E0219B018B00B72BAF /* TYRZNoUISDK.framework */,
128129
62890E532190232500803A2B /* RCTJVerificationModule.h */,
129130
62890E542190232500803A2B /* RCTJVerificationModule.m */,
130131
);
@@ -135,7 +136,6 @@
135136
isa = PBXGroup;
136137
children = (
137138
5CEEEC482361C5210072E0C1 /* libc++.1.tbd */,
138-
5C503AEB235AF9F1002C58EF /* libjverification-ios-2.5.1.a */,
139139
62890E7C21902C9A00803A2B /* MobileCoreServices.framework */,
140140
62890E7A21902C9400803A2B /* libsqlite3.tbd */,
141141
62890E7821902C8400803A2B /* CoreGraphics.framework */,
Binary file not shown.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
//
2+
// EAccountCTEConfig.h
3+
// EAccountApiSDK
4+
//
5+
// Created by lvzhzh on 2019/12/4.
6+
// Copyright © 2019 21CN. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
@interface EAccountCTEConfig : NSObject
14+
15+
@property (nonatomic, copy) NSString *timestampDomain;
16+
@property (nonatomic, copy) NSString *preLoginDomain;
17+
@property (nonatomic, copy) NSString *uploadLogDomain;
18+
19+
@end
20+
21+
NS_ASSUME_NONNULL_END
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
//
2+
// EAccountPreLoginConfigModel.h
3+
// EAccountApiSDK
4+
//
5+
// Created by Reticence Lee on 2019/12/12.
6+
// Copyright © 2019 21CN. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
@interface EAccountPreLoginConfigModel : NSObject
14+
15+
/**
16+
NSURLRequest的最大空闲时间 默认3s
17+
*/
18+
@property (nonatomic, assign) NSTimeInterval timeoutIntervalForRequest;
19+
20+
/**
21+
NSURLSession资源获取超时时间 默认3s
22+
*/
23+
@property (nonatomic, assign) NSTimeInterval timeoutIntervalForResource;
24+
25+
/**
26+
socket连接超时时间 默认3s
27+
*/
28+
@property (nonatomic, assign) NSTimeInterval socketConnectTimeoutInterval;
29+
30+
/**
31+
socket请求总超时时间 默认6s 建议设置比 socket连接超时时间 长
32+
*/
33+
@property (nonatomic, assign) NSTimeInterval socketTotalTimeoutInterval;
34+
35+
#pragma -mark 初始化方法
36+
37+
/**
38+
初始化方法 请调用该方法进行初始化
39+
*/
40+
- (instancetype)initWithDefaultConfig;
41+
42+
@end
43+
44+
NS_ASSUME_NONNULL_END

ios/RCTJVerificationModule/EAccountApiSDK.framework/Headers/EAccountSDK.h

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
//
88

99
/**
10-
V 1.5.1 修复已知的bug
10+
定制版SDK v3.7.2 20191217
1111
*/
1212

1313
#import <Foundation/Foundation.h>
14+
#import "EAccountPreLoginConfigModel.h"
15+
#import "EAccountCTEConfig.h"
1416

1517
/**
1618
声明一个block
@@ -28,60 +30,49 @@ typedef void (^failureHandler) (NSError * _Nonnull error);
2830

2931
/**
3032
初始化SDK
31-
@param appKey 接入方在账号平台领取的appKey
33+
@param appKey 接入方在账号平台领取的appId
3234
@param appSecrect 接入方在账号平台领取的appSecrect
3335
*/
3436
+ (void)initWithSelfKey:(NSString * _Nonnull)appKey
3537
appSecret:(NSString * _Nonnull)appSecrect;
3638

3739

3840
/**
39-
默认为正式环境的bundleID,需要使用测试环境的bundleId(通常是企业证书重签名改变的bundleId),请添加这个方法,在发布APP的时候请确保没有使用该方法。
41+
默认为正式环境的bundleID,需要使用测试环境的bundleID(企业证书重签名),请添加这个方法,在发布APP的时候请确保没有使用该方法。
4042
*/
4143

4244
+(void)setTestBundleId;
4345

46+
4447
/**
4548
*@description 预登录接口
46-
@param apiTimeoutInterval 接口超时时间,传0或者小于0的数,则默认为3s
49+
@param model 接口超时时间配置
4750
*/
4851

49-
+ (void)requestPreLogin:(NSTimeInterval)apiTimeoutInterval
50-
completion:(nonnull successHandler)completion
51-
failure:(nonnull failureHandler)fail;
52+
+ (void)requestPRELogin:(EAccountPreLoginConfigModel * _Nonnull)model
53+
completion:(nonnull successHandler)completion
54+
failure:(nonnull failureHandler)fail;
5255

5356
/**
54-
*@description 登录接口
55-
*@param accessCode 预取号获取d的accessCode
57+
*@description 预登录接口
58+
@param apiTimeoutInterval 接口超时时间,传0或者小于0的数,则默认为3s
5659
*/
57-
+ (void)requestLogin:(NSString * _Nonnull)accessCode
58-
withTimeoutInterval:(NSTimeInterval)apiTimeoutInterval
59-
completion:(nonnull successHandler)completion
60-
failure:(nonnull failureHandler)fail;
61-
62-
63-
6460

61+
+ (void)requestPreLogin:(NSTimeInterval)apiTimeoutInterval
62+
completion:(nonnull successHandler)completion
63+
failure:(nonnull failureHandler)fail DEPRECATED_MSG_ATTRIBUTE("Please use `requestPRELogin:completion:failure:` instead");
6564

6665

6766
/**
68-
*@description 预取号
67+
*@description 预登录接口 废弃
6968
@param apiTimeoutInterval 接口超时时间,传0或者小于0的数,则默认为3s
7069
*/
7170

7271
+ (void)getMobileCodeWithTimeout:(NSTimeInterval)apiTimeoutInterval
7372
completion:(nonnull successHandler)completion
74-
failure:(nonnull failureHandler)fail DEPRECATED_MSG_ATTRIBUTE("Method deprecated. Use `requestPreLogin:completion:failure:`");
75-
76-
/**
77-
*@description 网络认证
78-
*@param accessCode 预取号获取d的accessCode
79-
*/
80-
+ (void)gatewayAuthWithAccessCode:(NSString * _Nonnull)accessCode
81-
withTimeoutInterval:(NSTimeInterval)apiTimeoutInterval
82-
completion:(nonnull successHandler)completion
83-
failure:(nonnull failureHandler)fail DEPRECATED_MSG_ATTRIBUTE("Method deprecated. Use `requestLogin:completion:failure:`");
73+
failure:(nonnull failureHandler)fail DEPRECATED_MSG_ATTRIBUTE("Please use `requestPreLogin:completion:failure:` instead");
8474

8575

76+
+ (void)setDomainName:(EAccountCTEConfig *)config;
8677

8778
@end
-1 Bytes
Binary file not shown.
9.36 MB
Binary file not shown.

0 commit comments

Comments
 (0)