com.taptap.sdk.compliance 4.3.10 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,15 @@
1
+ <?xml version="1.0" ?>
1
2
  <dependencies>
2
-
3
- <!-- Android maven dependencies -->
4
3
  <androidPackages>
5
4
  <repositories>
6
5
  <repository>https://repo.maven.apache.org/maven2</repository>
7
6
  </repositories>
8
- <androidPackage spec="com.taptap.sdk:tap-compliance:4.3.10"/>
7
+ <androidPackage spec="com.taptap.sdk:tap-compliance:4.4.0"/>
9
8
  </androidPackages>
10
-
11
- <!-- iOS Cocoapod dependencies can be specified by each iosPod element. -->
12
9
  <iosPods>
13
10
  <sources>
14
11
  <source>https://github.com/CocoaPods/Specs.git</source>
15
12
  </sources>
16
- <iosPod name="TapTapComplianceSDK" version="~> 4.3.10" bitcodeEnabled="false" addToAllTargets="false"/>
13
+ <iosPod name="TapTapComplianceSDK" version="~> 4.4.0" bitcodeEnabled="false" addToAllTargets="false"/>
17
14
  </iosPods>
18
- </dependencies>
15
+ </dependencies>
@@ -10,7 +10,7 @@ namespace TapSDK.Compliance
10
10
  public static class TapTapCompliance
11
11
  {
12
12
 
13
- public static readonly string Version = "4.3.10";
13
+ public static readonly string Version = "4.4.0";
14
14
 
15
15
  public static void RegisterComplianceCallback(Action<int, string> callback)
16
16
  {
@@ -6,7 +6,7 @@ namespace TapSDK.Compliance.Standalone.Editor {
6
6
  public class TapComplianceStandaloneProcessBuild : SDKLinkProcessBuild {
7
7
  public override int callbackOrder => 3;
8
8
 
9
- public override string LinkPath => "TapTap/Compliance/link.xml";
9
+ public override string LinkPath => "TapSDK/Compliance/link.xml";
10
10
 
11
11
  public override LinkedAssembly[] LinkedAssemblies => new LinkedAssembly[] {
12
12
  new LinkedAssembly { Fullname = "TapSDK.Compliance" },
@@ -89,7 +89,7 @@ namespace TapSDK.Compliance.Internal.Http {
89
89
  object data = null,
90
90
  Dictionary<string, object> queryParams = null) {
91
91
 
92
- int retryTimes = 3;
92
+ int retryTimes = INTERNAL_SERVER_ERROR_LIMIT;
93
93
  HttpStatusCode serverErrorStatusCode = HttpStatusCode.InternalServerError;
94
94
  string serverErrorString = "";
95
95
  while(retryTimes > 0){
@@ -67,7 +67,8 @@ namespace TapSDK.Compliance.Internal
67
67
  }
68
68
  try{
69
69
  await FetchByOldToken(userId);
70
- }catch(Exception e){
70
+ }catch (Exception)
71
+ {
71
72
  TapTapAccount tapAccount = await TapTapLogin.Instance.GetCurrentTapAccount();
72
73
  AccessToken accessToken = tapAccount?.accessToken;
73
74
  if(HasComplianceAuthInTapToken(accessToken)){
package/link.xml.meta CHANGED
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 4304982c3b734421d9db5a3a6b17c98a
2
+ guid: 73a8d12a2dc374f408f7703f609b1d03
3
3
  TextScriptImporter:
4
4
  externalObjects: {}
5
5
  userData:
package/package.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "name": "com.taptap.sdk.compliance",
3
3
  "displayName": "TapTapSDK Compliance",
4
4
  "description": "TapTapSDK Compliance",
5
- "version": "4.3.10",
5
+ "version": "4.4.0",
6
6
  "unity": "2019.4",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "com.taptap.sdk.core": "4.3.10",
10
- "com.taptap.sdk.login": "4.3.10"
9
+ "com.taptap.sdk.core": "4.4.0",
10
+ "com.taptap.sdk.login": "4.4.0"
11
11
  }
12
12
  }