com.xd.sdk.tap 4.8.1-xd.2 → 4.8.1-xd.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.
@@ -1,4 +1,3 @@
1
- #if UNITY_EDITOR && UNITY_ANDROID
2
1
  using System.Collections.Generic;
3
2
  using XD.SDK.Foundation.Mobile.Editor;
4
3
  using XD.SDK.Foundation.Mobile.Editor.Android;
@@ -44,5 +43,4 @@ namespace XD.SDK.Tap.Editor
44
43
  return dependencies;
45
44
  }
46
45
  }
47
- }
48
- #endif
46
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "XD.SDK.Tap.Editor",
3
+ "rootNamespace": "",
4
+ "references": [
5
+ "GUID:11227cad437d44898c9c5389c8672caa"
6
+ ],
7
+ "includePlatforms": [
8
+ "Editor"
9
+ ],
10
+ "excludePlatforms": [],
11
+ "allowUnsafeCode": false,
12
+ "overrideReferences": false,
13
+ "precompiledReferences": [],
14
+ "autoReferenced": true,
15
+ "defineConstraints": [],
16
+ "versionDefines": [],
17
+ "noEngineReferences": false
18
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: e7b4a94542b92400b9f8bd989dfc5705
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -118,6 +118,10 @@ namespace XD.SDK.Tap.Internal
118
118
  case StartUpResult.EXITED:
119
119
  if (loginProcessComplianceResult == null)
120
120
  {
121
+ if (AccountFeaturesImpl.Instance.GetCurrentUser() == null)
122
+ {
123
+ return;
124
+ }
121
125
  AccountFeaturesImpl.Instance.InternalLogout("COMPLIANCE_EXIT");
122
126
  }
123
127
  else
@@ -129,6 +133,10 @@ namespace XD.SDK.Tap.Internal
129
133
  case StartUpResult.SWITCH_ACCOUNT:
130
134
  if (loginProcessComplianceResult == null)
131
135
  {
136
+ if (AccountFeaturesImpl.Instance.GetCurrentUser() == null)
137
+ {
138
+ return;
139
+ }
132
140
  AccountFeaturesImpl.Instance.InternalLogout("SWITCH_ACCOUNT");
133
141
  }
134
142
  else
@@ -101,6 +101,7 @@ namespace XD.SDK.Tap.Internal
101
101
  };
102
102
  }
103
103
 
104
+ XDGLogger.Debug("Using TapPC:" + ConfigModule.UsingTapPC);
104
105
  if (ConfigModule.UsingTapPC)
105
106
  {
106
107
  UIManager.ShowLoading(false, 5);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.xd.sdk.tap",
3
- "version": "4.8.1-xd.2",
3
+ "version": "4.8.1-xd.3",
4
4
  "displayName": "XDGSDK TapSDK",
5
5
  "description": "Tap for XD SDK"
6
6
  }