com.xd.sdk.account 7.2.1-alpha.2 → 7.2.1-alpha.4
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.
- package/Plugins/Android/libs/XDGAccount_7.3.0.aar +0 -0
- package/Plugins/Android/libs/XDGBridgeAccount_v7_7.3.0.aar +0 -0
- package/Plugins/Android/libs/XDGSupport_7.3.0.aar +0 -0
- package/Plugins/iOS/XDAccountSDK.framework/Headers/XDGAccountVersion.h +3 -3
- package/Plugins/iOS/XDAccountSDK.framework/Info.plist +0 -0
- package/Plugins/iOS/XDAccountSDK.framework/XDAccountSDK +0 -0
- package/Runtime/Internal/Standalone/Auth/SteamAuth.cs +4 -4
- package/Runtime/Internal/Standalone/Track/AliyunTrack.Login.cs +1 -1
- package/Runtime/Internal/Standalone/UserModule.cs +1 -1
- package/package.json +2 -2
- package/Plugins/Android/libs/XDGAccount_7.2.0.aar +0 -0
- package/Plugins/Android/libs/XDGBridgeAccount_v7_7.2.0.aar +0 -0
- package/Plugins/Android/libs/XDGSupport_7.2.0.aar +0 -0
- /package/Plugins/Android/libs/{XDGAccount_7.2.0.aar.meta → XDGAccount_7.3.0.aar.meta} +0 -0
- /package/Plugins/Android/libs/{XDGBridgeAccount_v7_7.2.0.aar.meta → XDGBridgeAccount_v7_7.3.0.aar.meta} +0 -0
- /package/Plugins/Android/libs/{XDGSupport_7.2.0.aar.meta → XDGSupport_7.3.0.aar.meta} +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -14,7 +14,7 @@ namespace XD.SDK.Account.Internal.Standalone
|
|
|
14
14
|
|
|
15
15
|
internal static async Task<Dictionary<string, object>> GetAuthData()
|
|
16
16
|
{
|
|
17
|
-
if (
|
|
17
|
+
if (SteamUtils.IsSDKSupported)
|
|
18
18
|
{
|
|
19
19
|
// 先尝试从 Steam SDK 中获取 auth data
|
|
20
20
|
Dictionary<string, object> authData = await GetAuthDataFromSDK();
|
|
@@ -38,7 +38,7 @@ namespace XD.SDK.Account.Internal.Standalone
|
|
|
38
38
|
AliyunTrack.LoginAuthorize();
|
|
39
39
|
try
|
|
40
40
|
{
|
|
41
|
-
string ticket = await
|
|
41
|
+
string ticket = await SteamUtils.Instance.GetAuthTicket();
|
|
42
42
|
if (string.IsNullOrWhiteSpace(ticket))
|
|
43
43
|
{
|
|
44
44
|
// 登陆授权失败
|
|
@@ -70,12 +70,12 @@ namespace XD.SDK.Account.Internal.Standalone
|
|
|
70
70
|
|
|
71
71
|
public static string GetSteamIdFromSDK()
|
|
72
72
|
{
|
|
73
|
-
return
|
|
73
|
+
return SteamUtils.Instance.GetSteamId();
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
public static Dictionary<string, object> GetCacheData()
|
|
77
77
|
{
|
|
78
|
-
if (!
|
|
78
|
+
if (!SteamUtils.IsSDKSupported)
|
|
79
79
|
{
|
|
80
80
|
return null;
|
|
81
81
|
}
|
|
@@ -440,7 +440,7 @@ namespace XD.SDK.Account.Internal.Standalone
|
|
|
440
440
|
content["user_login_type"] = string.IsNullOrEmpty(current) ? "" : userLoginTypeString;
|
|
441
441
|
content["logid"] = CommonTrack.GetLogId(LoginEventSessionId, eventName);
|
|
442
442
|
content["isLoginModule"] = "true";
|
|
443
|
-
if (
|
|
443
|
+
if (SteamUtils.IsSDKSupported)
|
|
444
444
|
{
|
|
445
445
|
content["console_type"] = "steam";
|
|
446
446
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.xd.sdk.account",
|
|
3
3
|
"displayName": "XDGSDK Account",
|
|
4
|
-
"version": "7.2.1-alpha.
|
|
4
|
+
"version": "7.2.1-alpha.4",
|
|
5
5
|
"description": "XDGSDK",
|
|
6
6
|
"unity": "2019.3",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"com.xd.sdk.common": "7.2.1-alpha.
|
|
9
|
+
"com.xd.sdk.common": "7.2.1-alpha.4"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|