com.xd.sdk.tap 4.8.1-xd.1 → 4.8.1-xd.2
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/XDGBridgeTapTapWrapper_v7_7.0.1.aar.meta +32 -0
- package/Runtime/Internal/TapComplianceHelper.cs +2 -2
- package/Runtime/Public/TapSDKEventHandler.cs +5 -3
- package/package.json +1 -1
- package/Plugins/Android/XDGBridgeTapTapWrapper_v7_7.0.0.aar.meta +0 -3
- /package/Plugins/Android/{XDGBridgeTapTapWrapper_v7_7.0.0.aar → XDGBridgeTapTapWrapper_v7_7.0.1.aar} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 3410dde9cb59e44eda44f69909f92ebd
|
|
3
|
+
PluginImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
iconMap: {}
|
|
7
|
+
executionOrder: {}
|
|
8
|
+
defineConstraints: []
|
|
9
|
+
isPreloaded: 0
|
|
10
|
+
isOverridable: 1
|
|
11
|
+
isExplicitlyReferenced: 0
|
|
12
|
+
validateReferences: 1
|
|
13
|
+
platformData:
|
|
14
|
+
- first:
|
|
15
|
+
Android: Android
|
|
16
|
+
second:
|
|
17
|
+
enabled: 1
|
|
18
|
+
settings: {}
|
|
19
|
+
- first:
|
|
20
|
+
Any:
|
|
21
|
+
second:
|
|
22
|
+
enabled: 0
|
|
23
|
+
settings: {}
|
|
24
|
+
- first:
|
|
25
|
+
Editor: Editor
|
|
26
|
+
second:
|
|
27
|
+
enabled: 0
|
|
28
|
+
settings:
|
|
29
|
+
DefaultValueInitialized: true
|
|
30
|
+
userData:
|
|
31
|
+
assetBundleName:
|
|
32
|
+
assetBundleVariant:
|
|
@@ -118,7 +118,7 @@ namespace XD.SDK.Tap.Internal
|
|
|
118
118
|
case StartUpResult.EXITED:
|
|
119
119
|
if (loginProcessComplianceResult == null)
|
|
120
120
|
{
|
|
121
|
-
AccountFeaturesImpl.Instance.InternalLogout("COMPLIANCE_EXIT"
|
|
121
|
+
AccountFeaturesImpl.Instance.InternalLogout("COMPLIANCE_EXIT");
|
|
122
122
|
}
|
|
123
123
|
else
|
|
124
124
|
{
|
|
@@ -129,7 +129,7 @@ namespace XD.SDK.Tap.Internal
|
|
|
129
129
|
case StartUpResult.SWITCH_ACCOUNT:
|
|
130
130
|
if (loginProcessComplianceResult == null)
|
|
131
131
|
{
|
|
132
|
-
AccountFeaturesImpl.Instance.InternalLogout("SWITCH_ACCOUNT"
|
|
132
|
+
AccountFeaturesImpl.Instance.InternalLogout("SWITCH_ACCOUNT");
|
|
133
133
|
}
|
|
134
134
|
else
|
|
135
135
|
{
|
|
@@ -12,6 +12,7 @@ using TapSDK.Login;
|
|
|
12
12
|
using TapSDK.Moment;
|
|
13
13
|
using UnityEngine;
|
|
14
14
|
using UnityEngine.Scripting;
|
|
15
|
+
using XD.SDK.Common;
|
|
15
16
|
using XD.SDK.Common.Internal.Events;
|
|
16
17
|
|
|
17
18
|
#if UNITY_EDITOR || UNITY_STANDALONE
|
|
@@ -40,6 +41,7 @@ namespace XD.SDK.Tap.Internal
|
|
|
40
41
|
XDGEventBus.SubscribeAsync(XDGEvents.TapSDKInit, async args =>
|
|
41
42
|
{
|
|
42
43
|
var language = (string)args[0];
|
|
44
|
+
var packageType = (string)args[1];
|
|
43
45
|
var tapConfig = ConfigModule.TapConfig;
|
|
44
46
|
var bGlobal = ConfigModule.IsGlobal;
|
|
45
47
|
var antiConfig = ConfigModule.Anti;
|
|
@@ -55,7 +57,7 @@ namespace XD.SDK.Tap.Internal
|
|
|
55
57
|
enableLog = bEnableLog,
|
|
56
58
|
gameVersion = tapConfig.DBConfig.Version
|
|
57
59
|
};
|
|
58
|
-
|
|
60
|
+
|
|
59
61
|
var baseOptions = new TapTapSdkBaseOptions[2];
|
|
60
62
|
|
|
61
63
|
if (!bGlobal && antiConfig.Enabled)
|
|
@@ -63,7 +65,7 @@ namespace XD.SDK.Tap.Internal
|
|
|
63
65
|
var complianceOption = new TapTapComplianceOption()
|
|
64
66
|
{
|
|
65
67
|
useAgeRange = antiConfig.UseAgeRange,
|
|
66
|
-
showSwitchAccount = antiConfig.ShowSwitchAccount
|
|
68
|
+
showSwitchAccount = packageType != XDGPackageType.PackageTypePCTapTap && antiConfig.ShowSwitchAccount
|
|
67
69
|
};
|
|
68
70
|
baseOptions[0] = complianceOption;
|
|
69
71
|
}
|
|
@@ -82,7 +84,7 @@ namespace XD.SDK.Tap.Internal
|
|
|
82
84
|
|
|
83
85
|
if (bEnableLog)
|
|
84
86
|
{
|
|
85
|
-
TapLogger.LogDelegate = (level, s) =>
|
|
87
|
+
TapLogger.LogDelegate = (level, s) =>
|
|
86
88
|
{
|
|
87
89
|
switch (level)
|
|
88
90
|
{
|
package/package.json
CHANGED
/package/Plugins/Android/{XDGBridgeTapTapWrapper_v7_7.0.0.aar → XDGBridgeTapTapWrapper_v7_7.0.1.aar}
RENAMED
|
File without changes
|