com.taptap.sdk.compliance 4.10.3-beta.1 → 4.10.3

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.
@@ -4,12 +4,12 @@
4
4
  <repositories>
5
5
  <repository>https://repo.maven.apache.org/maven2</repository>
6
6
  </repositories>
7
- <androidPackage spec="com.taptap.sdk:tap-compliance:4.10.3-beta.1" />
7
+ <androidPackage spec="com.taptap.sdk:tap-compliance:4.10.3" />
8
8
  </androidPackages>
9
9
  <iosPods>
10
10
  <sources>
11
11
  <source>https://github.com/CocoaPods/Specs.git</source>
12
12
  </sources>
13
- <iosPod addToAllTargets="false" bitcodeEnabled="false" name="TapTapSDK/Compliance" version="4.10.3-beta.1" />
13
+ <iosPod addToAllTargets="false" bitcodeEnabled="false" name="TapTapSDK/Compliance" version="4.10.3" />
14
14
  </iosPods>
15
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.10.3-beta.1";
13
+ public static readonly string Version = "4.10.3";
14
14
 
15
15
  public static void RegisterComplianceCallback(Action<int, string> callback)
16
16
  {
@@ -422,18 +422,12 @@ namespace TapSDK.Compliance
422
422
  var tToken = await getToken();
423
423
  tcs.TrySetResult(tToken);
424
424
  }
425
- catch (TapException te) {
426
- if (te.Code == (int)TapErrorCode.ERROR_CODE_LOGIN_CANCEL && te.Message.Contains("Login Cancel")) {
427
- UIManager.Instance.OpenToast("授权取消", UIManager.GeneralToastLevel.Warning);
428
- return await InternalGetAccessToken(isTapUser, haveCompliance, accessToken);
429
- }
430
- }
431
425
  catch (Exception e) {
432
426
  TapLog.Error(e.ToString());
433
427
  throw;
434
428
  }
435
429
  }
436
-
430
+
437
431
  return tcs.Task.Result;
438
432
  }
439
433
 
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.10.3-beta.1",
5
+ "version": "4.10.3",
6
6
  "unity": "2020.3.0f1",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "com.taptap.sdk.core": "4.10.3-beta.1",
10
- "com.taptap.sdk.login": "4.10.3-beta.1"
9
+ "com.taptap.sdk.core": "4.10.3",
10
+ "com.taptap.sdk.login": "4.10.3"
11
11
  }
12
12
  }