com.taptap.sdk.login 4.4.1 → 4.4.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,13 +4,13 @@
4
4
  <repositories>
5
5
  <repository>https://repo.maven.apache.org/maven2</repository>
6
6
  </repositories>
7
- <androidPackage spec="com.taptap.sdk:tap-login-unity:4.4.1"/>
7
+ <androidPackage spec="com.taptap.sdk:tap-login-unity:4.4.3"/>
8
8
  </androidPackages>
9
9
  <iosPods>
10
10
  <sources>
11
11
  <source>https://github.com/CocoaPods/Specs.git</source>
12
12
  </sources>
13
13
  <iosPod name="Kingfisher" version="~> 6.0" bitcodeEnabled="false" addToAllTargets="false"/>
14
- <iosPod name="TapTapLoginSDK" version="~> 4.4.0" bitcodeEnabled="false" addToAllTargets="false"/>
14
+ <iosPod name="TapTapLoginSDK" version="~> 4.4.3" bitcodeEnabled="false" addToAllTargets="false"/>
15
15
  </iosPods>
16
16
  </dependencies>
@@ -7,7 +7,7 @@ namespace TapSDK.Login
7
7
  public class TapTapLogin
8
8
  {
9
9
 
10
- public static readonly string Version = "4.4.1";
10
+ public static readonly string Version = "4.4.3";
11
11
 
12
12
  public const string TAP_LOGIN_SCOPE_BASIC_INFO = "basic_info";
13
13
  public const string TAP_LOGIN_SCOPE_PUBLIC_PROFILE = "public_profile";
@@ -8,9 +8,6 @@ namespace TapSDK.Login.Internal
8
8
  {
9
9
  public static class TapTapSdk
10
10
  {
11
- // todo
12
- public const string Version = "4.3.10";
13
-
14
11
  public static string ClientId { get; private set; }
15
12
 
16
13
  public static Region CurrentRegion { get; private set; }
@@ -47,10 +47,12 @@ namespace TapSDK.Login.Internal
47
47
  if (value == null)
48
48
  {
49
49
  DataStorage.SaveString(_account, null);
50
+ TapAppDurationStandalone.OnLogout();
50
51
  }
51
52
  else
52
53
  {
53
54
  DataStorage.SaveString(_account, value.ToJson());
55
+ TapAppDurationStandalone.OnLogin(value?.openId);
54
56
  }
55
57
  }
56
58
  }
@@ -21,7 +21,7 @@ namespace TapSDK.Login.Internal
21
21
  { "client_id", clientId },
22
22
  { "response_type", "device_code" },
23
23
  { "scope", string.Join(",", scopes) },
24
- { "version", TapTapSdk.Version },
24
+ { "version", TapTapLogin.Version },
25
25
  { "platform", "unity" },
26
26
  { "info", "{\"device_id\":\"" + SystemInfo.deviceModel + "\"}" }
27
27
  };
@@ -62,6 +62,7 @@ namespace TapSDK.Login.Internal {
62
62
  WebLoginRequestManager.Instance.CreateNewLoginRequest(scopes);
63
63
 
64
64
  string url = WebLoginRequestManager.Instance.GetCurrentRequest().GetWebLoginUrl();
65
+ TapLog.Log("WebController , OpenURL : " + url);
65
66
  Application.OpenURL(url);
66
67
 
67
68
  // 启动监听
package/package.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "name": "com.taptap.sdk.login",
3
3
  "displayName": "TapTapSDK Login",
4
4
  "description": "TapTapSDK Login",
5
- "version": "4.4.1",
5
+ "version": "4.4.3",
6
6
  "unity": "2019.4",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "com.taptap.sdk.core": "4.4.1"
9
+ "com.taptap.sdk.core": "4.4.3"
10
10
  }
11
11
  }
package/link.xml DELETED
@@ -1,4 +0,0 @@
1
- <linker>
2
- <assembly fullname="TapSDK.Login.Runtime" preserve="all" />
3
- <assembly fullname="TapSDK.Login.Mobile.Runtime" preserve="all" />
4
- </linker>
package/link.xml.meta DELETED
@@ -1,7 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: be71b67c0945c40c0817e128f2bff96a
3
- TextScriptImporter:
4
- externalObjects: {}
5
- userData:
6
- assetBundleName:
7
- assetBundleVariant: