com.taptap.sdk.core 4.7.1 → 4.8.1-beta.1
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/Mobile/Editor/NativeDependencies.xml +2 -2
- package/Mobile/Runtime/AndroidNativeWrapper.cs +2 -1
- package/Mobile/Runtime/BridgeAndroid.cs +2 -1
- package/Mobile/Runtime/BridgeIOS.cs +2 -3
- package/Mobile/Runtime/EngineBridgeInitializer.cs +2 -1
- package/Mobile/Runtime/TapCoreMobile.cs +6 -5
- package/Mobile/Runtime/TapEventMobile.cs +22 -21
- package/Runtime/Internal/Http/TapHttpClient.cs +2 -1
- package/Runtime/Internal/Http/TapHttpUtils.cs +3 -2
- package/Runtime/Internal/Log/TapLog.cs +39 -3
- package/Runtime/Internal/Platform/PlatformTypeUtils.cs +3 -7
- package/Runtime/Internal/UI/Base/UIManager.cs +2 -1
- package/Runtime/Internal/UI/BasePanel/BasePanelController.cs +2 -1
- package/Runtime/Internal/Utils/BridgeUtils.cs +23 -22
- package/Runtime/Internal/Utils/EventManager.cs +1 -1
- package/Runtime/Internal/Utils/ImageUtils.cs +5 -4
- package/Runtime/Public/DataStorage.cs +2 -1
- package/Runtime/Public/Log/TapLogger.cs +1 -1
- package/Runtime/Public/TapEngineBridgeResult.cs +14 -0
- package/Runtime/Public/TapEngineBridgeResult.cs.meta +3 -0
- package/Runtime/Public/TapTapEvent.cs +2 -1
- package/Runtime/Public/TapTapSDK.cs +2 -2
- package/Standalone/Plugins/x86_64/taptap_api.dll.meta +34 -6
- package/Standalone/Runtime/Internal/DeviceInfo.cs +2 -1
- package/Standalone/Runtime/Internal/EventSender.cs +2 -2
- package/Standalone/Runtime/Internal/Http/TapHttpUtils.cs +0 -8
- package/Standalone/Runtime/Internal/Openlog/TapOpenlogWrapper.cs +2 -2
- package/Standalone/Runtime/Internal/Prefs.cs +3 -2
- package/Standalone/Runtime/Internal/TapClientBridge.cs +6 -5
- package/Standalone/Runtime/Internal/TapClientBridgePoll.cs +2 -1
- package/Standalone/Runtime/Internal/Tracker.cs +7 -6
- package/Standalone/Runtime/Public/TapClientStandalone.cs +35 -62
- package/Standalone/Runtime/Public/TapCoreStandalone.cs +1 -1
- package/Standalone/Runtime/Public/TapEventStandalone.cs +9 -9
- package/link.xml.meta +1 -1
- package/package.json +9 -9
|
@@ -7,6 +7,7 @@ using System;
|
|
|
7
7
|
using System.Runtime.InteropServices;
|
|
8
8
|
using TapSDK.Core.Standalone.Internal.Openlog;
|
|
9
9
|
using System.Threading;
|
|
10
|
+
using TapSDK.Core.Internal.Log;
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
@@ -36,13 +37,13 @@ namespace TapSDK.Core.Standalone
|
|
|
36
37
|
if (isRuningIsLaunchedFromTapTapPC)
|
|
37
38
|
{
|
|
38
39
|
UIManager.Instance.OpenToast("IsLaunchedFromTapTapPC 正在执行,请勿重复调用", UIManager.GeneralToastLevel.Error);
|
|
39
|
-
|
|
40
|
+
TapLog.Error("IsLaunchedFromTapTapPC 正在执行,请勿重复调用");
|
|
40
41
|
return false;
|
|
41
42
|
}
|
|
42
43
|
// 多次执行时返回上一次结果
|
|
43
44
|
if (lastIsLaunchedFromTapTapPCResult != -1)
|
|
44
45
|
{
|
|
45
|
-
Log(
|
|
46
|
+
TapLog.Log("IsLaunchedFromTapTapPC duplicate invoke return " + lastIsLaunchedFromTapTapPCResult);
|
|
46
47
|
return lastIsLaunchedFromTapTapPCResult > 0;
|
|
47
48
|
}
|
|
48
49
|
|
|
@@ -51,7 +52,7 @@ namespace TapSDK.Core.Standalone
|
|
|
51
52
|
if (coreOptions == null)
|
|
52
53
|
{
|
|
53
54
|
UIManager.Instance.OpenToast("IsLaunchedFromTapTapPC 调用必须在初始化之后", UIManager.GeneralToastLevel.Error);
|
|
54
|
-
|
|
55
|
+
TapLog.Error("IsLaunchedFromTapTapPC 调用必须在初始化之后");
|
|
55
56
|
return false;
|
|
56
57
|
}
|
|
57
58
|
string clientId = coreOptions.clientId;
|
|
@@ -59,7 +60,7 @@ namespace TapSDK.Core.Standalone
|
|
|
59
60
|
if (string.IsNullOrEmpty(clientId) || string.IsNullOrEmpty(pubKey))
|
|
60
61
|
{
|
|
61
62
|
UIManager.Instance.OpenToast("clientId 及 TapPubKey 参数都不能为空, clientId =" + clientId + ", TapPubKey = " + pubKey, UIManager.GeneralToastLevel.Error);
|
|
62
|
-
|
|
63
|
+
TapLog.Error("clientId 或 TapPubKey 无效, clientId = " + clientId + ", TapPubKey = " + pubKey);
|
|
63
64
|
return false;
|
|
64
65
|
}
|
|
65
66
|
isRuningIsLaunchedFromTapTapPC = true;
|
|
@@ -69,13 +70,13 @@ namespace TapSDK.Core.Standalone
|
|
|
69
70
|
try
|
|
70
71
|
{
|
|
71
72
|
TapInitResult result = await RunClientBridgeMethod(clientId, pubKey);
|
|
72
|
-
Log(
|
|
73
|
+
TapLog.Log("check startupWithClientBridge finished thread = " + Thread.CurrentThread.ManagedThreadId);
|
|
73
74
|
isRuningIsLaunchedFromTapTapPC = false;
|
|
74
75
|
if (result.needQuitGame)
|
|
75
76
|
{
|
|
76
77
|
lastIsLaunchedFromTapTapPCResult = 0;
|
|
77
78
|
TapCoreTracker.Instance.TrackSuccess(TapCoreTracker.METHOD_LAUNCHER, sessionId, TapCoreTracker.SUCCESS_TYPE_RESTART);
|
|
78
|
-
Log(
|
|
79
|
+
TapLog.Log("IsLaunchedFromTapTapPC Quit game");
|
|
79
80
|
Application.Quit();
|
|
80
81
|
return false;
|
|
81
82
|
}
|
|
@@ -85,11 +86,11 @@ namespace TapSDK.Core.Standalone
|
|
|
85
86
|
{
|
|
86
87
|
string currentClientId;
|
|
87
88
|
bool isFetchClientIdSuccess = TapClientBridge.GetClientId(out currentClientId);
|
|
88
|
-
Log(
|
|
89
|
+
TapLog.Log("IsLaunchedFromTapTapPC get clientId = " + currentClientId);
|
|
89
90
|
if (isFetchClientIdSuccess && !string.IsNullOrEmpty(currentClientId) && currentClientId != clientId)
|
|
90
91
|
{
|
|
91
92
|
UIManager.Instance.OpenToast("SDK 中配置的 clientId = " + clientId + "与 Tap 启动器中" + currentClientId + "不一致", UIManager.GeneralToastLevel.Error);
|
|
92
|
-
|
|
93
|
+
TapLog.Error("SDK 中配置的 clientId = " + clientId + "与 Tap 启动器中" + currentClientId + "不一致");
|
|
93
94
|
TapCoreTracker.Instance.TrackFailure(TapCoreTracker.METHOD_LAUNCHER, sessionId, -1, "SDK 中配置的 clientId = " + clientId + "与 Tap 启动器中" + currentClientId + "不一致");
|
|
94
95
|
lastIsLaunchedFromTapTapPCResult = 0;
|
|
95
96
|
return false;
|
|
@@ -98,17 +99,17 @@ namespace TapSDK.Core.Standalone
|
|
|
98
99
|
bool fetchOpenIdSuccess = TapClientBridge.GetTapUserOpenId(out openId);
|
|
99
100
|
if (fetchOpenIdSuccess)
|
|
100
101
|
{
|
|
101
|
-
Log(
|
|
102
|
+
TapLog.Log("IsLaunchedFromTapTapPC get openId = " + openId);
|
|
102
103
|
EventManager.TriggerEvent(EventManager.IsLaunchedFromTapTapPCFinished, openId);
|
|
103
104
|
}
|
|
104
105
|
else
|
|
105
106
|
{
|
|
106
|
-
Log(
|
|
107
|
+
TapLog.Log("IsLaunchedFromTapTapPC get openId failed");
|
|
107
108
|
}
|
|
108
109
|
lastIsLaunchedFromTapTapPCResult = 1;
|
|
109
110
|
TapClientBridgePoll.StartUp();
|
|
110
111
|
TapCoreTracker.Instance.TrackSuccess(TapCoreTracker.METHOD_LAUNCHER, sessionId, TapCoreTracker.SUCCESS_TYPE_INIT);
|
|
111
|
-
Log(
|
|
112
|
+
TapLog.Log("IsLaunchedFromTapTapPC check success");
|
|
112
113
|
return true;
|
|
113
114
|
}
|
|
114
115
|
else
|
|
@@ -116,7 +117,7 @@ namespace TapSDK.Core.Standalone
|
|
|
116
117
|
|
|
117
118
|
TapCoreTracker.Instance.TrackFailure(TapCoreTracker.METHOD_LAUNCHER, sessionId, (int)result.result, result.errorMsg ?? "");
|
|
118
119
|
lastIsLaunchedFromTapTapPCResult = 0;
|
|
119
|
-
Log(
|
|
120
|
+
TapLog.Log("IsLaunchedFromTapTapPC show TapClient tip Pannel " + result.result + " , error = " + result.errorMsg);
|
|
120
121
|
string tipPannelPath = "Prefabs/TapClient/TapClientConnectTipPanel";
|
|
121
122
|
if (Resources.Load<GameObject>(tipPannelPath) != null)
|
|
122
123
|
{
|
|
@@ -132,7 +133,7 @@ namespace TapSDK.Core.Standalone
|
|
|
132
133
|
lastIsLaunchedFromTapTapPCResult = 0;
|
|
133
134
|
TapCoreTracker.Instance.TrackFailure(TapCoreTracker.METHOD_LAUNCHER, sessionId, (int)TapSDKInitResult.Unknown, e.Message ?? "");
|
|
134
135
|
|
|
135
|
-
Log(
|
|
136
|
+
TapLog.Log("IsLaunchedFromTapTapPC check exception = " + e.Message + " \n" + e.StackTrace);
|
|
136
137
|
string tipPannelPath = "Prefabs/TapClient/TapClientConnectTipPanel";
|
|
137
138
|
if (Resources.Load<GameObject>(tipPannelPath) != null)
|
|
138
139
|
{
|
|
@@ -150,9 +151,10 @@ namespace TapSDK.Core.Standalone
|
|
|
150
151
|
{
|
|
151
152
|
await Task.Run(() =>
|
|
152
153
|
{
|
|
153
|
-
Log(
|
|
154
|
+
TapLog.Log( "check startupWithClientBridge start thread = " + Thread.CurrentThread.ManagedThreadId);
|
|
154
155
|
bool needQuitGame = TapClientBridge.TapSDK_RestartAppIfNecessary(clientId);
|
|
155
|
-
Log(
|
|
156
|
+
TapLog.Log("RunClientBridgeMethodWithTimeout invoke TapSDK_RestartAppIfNecessary result = " + needQuitGame);
|
|
157
|
+
TapLog.Log("RunClientBridgeMethodWithTimeout invoke TapSDK_RestartAppIfNecessary finished " );
|
|
156
158
|
if (needQuitGame)
|
|
157
159
|
{
|
|
158
160
|
tapInitResult = new TapInitResult(needQuitGame);
|
|
@@ -161,7 +163,7 @@ namespace TapSDK.Core.Standalone
|
|
|
161
163
|
{
|
|
162
164
|
string outputError;
|
|
163
165
|
int tapSDKInitResult = TapClientBridge.CheckInitState(out outputError, pubKey);
|
|
164
|
-
Log(
|
|
166
|
+
TapLog.Log("RunClientBridgeMethodWithTimeout invoke CheckInitState result = " + tapSDKInitResult + ", error = " + outputError);
|
|
165
167
|
tapInitResult = new TapInitResult(tapSDKInitResult, outputError);
|
|
166
168
|
}
|
|
167
169
|
task.TrySetResult(tapInitResult);
|
|
@@ -170,7 +172,7 @@ namespace TapSDK.Core.Standalone
|
|
|
170
172
|
}
|
|
171
173
|
catch (Exception ex)
|
|
172
174
|
{
|
|
173
|
-
Log(
|
|
175
|
+
TapLog.Log("RunClientBridgeMethodWithTimeout invoke C 方法出错!" + ex.Message);
|
|
174
176
|
task.TrySetException(ex);
|
|
175
177
|
}
|
|
176
178
|
return await task.Task;
|
|
@@ -184,6 +186,10 @@ namespace TapSDK.Core.Standalone
|
|
|
184
186
|
return isChannelPackage;
|
|
185
187
|
}
|
|
186
188
|
|
|
189
|
+
public static bool isPassedInLaunchedFromTapTapPCCheck(){
|
|
190
|
+
return lastIsLaunchedFromTapTapPCResult > 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
187
193
|
|
|
188
194
|
private static Action<bool, string> currentLoginCallback;
|
|
189
195
|
|
|
@@ -196,16 +202,16 @@ namespace TapSDK.Core.Standalone
|
|
|
196
202
|
if (lastIsLaunchedFromTapTapPCResult == -1)
|
|
197
203
|
{
|
|
198
204
|
// UIManager.Instance.OpenToast("IsLaunchedFromTapTapPC 正在执行,请在完成后调用授权接口", UIManager.GeneralToastLevel.Error);
|
|
199
|
-
|
|
205
|
+
TapLog.Error(" login must be invoked after IsLaunchedFromTapTapPC success");
|
|
200
206
|
throw new Exception("login must be invoked after IsLaunchedFromTapTapPC success");
|
|
201
207
|
}
|
|
202
|
-
Log(
|
|
208
|
+
TapLog.Log("LoginWithScopes start login by tapclient thread = " + Thread.CurrentThread.ManagedThreadId);
|
|
203
209
|
try
|
|
204
210
|
{
|
|
205
211
|
TapClientBridge.RegisterCallback(TapEventID.AuthorizeFinished_internal, loginCallbackDelegate);
|
|
206
212
|
AuthorizeResult authorizeResult = TapClientBridge.LoginWithScopesInternal(scopes, responseType, redirectUri,
|
|
207
213
|
codeChallenge, state, codeChallengeMethod, versonCode, sdkUa, info);
|
|
208
|
-
Log(
|
|
214
|
+
TapLog.Log("LoginWithScopes start result = " + authorizeResult);
|
|
209
215
|
if (authorizeResult != AuthorizeResult.OK)
|
|
210
216
|
{
|
|
211
217
|
TapClientBridge.UnRegisterCallback(TapEventID.AuthorizeFinished_internal,loginCallbackDelegate);
|
|
@@ -220,7 +226,7 @@ namespace TapSDK.Core.Standalone
|
|
|
220
226
|
}
|
|
221
227
|
catch (Exception ex)
|
|
222
228
|
{
|
|
223
|
-
Log(
|
|
229
|
+
TapLog.Log("LoginWithScopes start login by tapclient error = " + ex.Message);
|
|
224
230
|
TapClientBridge.UnRegisterCallback(TapEventID.AuthorizeFinished_internal,loginCallbackDelegate);
|
|
225
231
|
return false;
|
|
226
232
|
}
|
|
@@ -231,12 +237,12 @@ namespace TapSDK.Core.Standalone
|
|
|
231
237
|
[AOT.MonoPInvokeCallback(typeof(TapClientBridge.CallbackDelegate))]
|
|
232
238
|
static void loginCallbackDelegate(int id, IntPtr userData)
|
|
233
239
|
{
|
|
234
|
-
Log(
|
|
240
|
+
TapLog.Log("LoginWithScopes recevie callback " + id);
|
|
235
241
|
if (id == (int)TapEventID.AuthorizeFinished_internal)
|
|
236
242
|
{
|
|
237
|
-
Log(
|
|
243
|
+
TapLog.Log("LoginWithScopes callback thread = " + Thread.CurrentThread.ManagedThreadId);
|
|
238
244
|
TapClientBridge.AuthorizeFinishedResponse response = Marshal.PtrToStructure<TapClientBridge.AuthorizeFinishedResponse>(userData);
|
|
239
|
-
Log(
|
|
245
|
+
TapLog.Log("LoginWithScopes callback = " + response.is_cancel + " uri = " + response.callback_uri);
|
|
240
246
|
if (currentLoginCallback != null)
|
|
241
247
|
{
|
|
242
248
|
currentLoginCallback(response.is_cancel != 0, response.callback_uri);
|
|
@@ -268,7 +274,7 @@ namespace TapSDK.Core.Standalone
|
|
|
268
274
|
{
|
|
269
275
|
throw new Exception("purchaseDLC must be invoked after IsLaunchedFromTapTapPC success");
|
|
270
276
|
}
|
|
271
|
-
Log(
|
|
277
|
+
TapLog.Log("purchaseDLC start = " + skuId);
|
|
272
278
|
return TapClientBridge.TapDLC_ShowStore(skuId);
|
|
273
279
|
}
|
|
274
280
|
|
|
@@ -283,11 +289,11 @@ namespace TapSDK.Core.Standalone
|
|
|
283
289
|
[AOT.MonoPInvokeCallback(typeof(TapClientBridge.CallbackDelegate))]
|
|
284
290
|
static void DLCCallbackDelegate(int id, IntPtr userData)
|
|
285
291
|
{
|
|
286
|
-
Log(
|
|
292
|
+
TapLog.Log("queryDlC recevie callback " + id);
|
|
287
293
|
if (currentDlcDelegate != null)
|
|
288
294
|
{
|
|
289
295
|
TapClientBridge.DLCPlayableStatusChangedResponse response = Marshal.PtrToStructure<TapClientBridge.DLCPlayableStatusChangedResponse>(userData);
|
|
290
|
-
Log(
|
|
296
|
+
TapLog.Log("queryDlC callback = " + response.dlc_id + " isOwn = " + response.is_playable);
|
|
291
297
|
currentDlcDelegate(response.dlc_id, response.is_playable != 0);
|
|
292
298
|
}
|
|
293
299
|
}
|
|
@@ -303,11 +309,11 @@ namespace TapSDK.Core.Standalone
|
|
|
303
309
|
[AOT.MonoPInvokeCallback(typeof(TapClientBridge.CallbackDelegate))]
|
|
304
310
|
static void LicenseCallbackDelegate(int id, IntPtr userData)
|
|
305
311
|
{
|
|
306
|
-
Log(
|
|
312
|
+
TapLog.Log("License recevie callback " + id);
|
|
307
313
|
if (currentLicenseDelegate != null)
|
|
308
314
|
{
|
|
309
315
|
TapClientBridge.GamePlayableStatusChangedResponse response = Marshal.PtrToStructure<TapClientBridge.GamePlayableStatusChangedResponse>(userData);
|
|
310
|
-
Log(
|
|
316
|
+
TapLog.Log("License callback isOwn changed " + response.is_playable );
|
|
311
317
|
currentLicenseDelegate(response.is_playable != 0);
|
|
312
318
|
}
|
|
313
319
|
}
|
|
@@ -322,39 +328,6 @@ namespace TapSDK.Core.Standalone
|
|
|
322
328
|
}
|
|
323
329
|
|
|
324
330
|
|
|
325
|
-
private static void Log(bool isError, string data, bool alwaysShow = true)
|
|
326
|
-
{
|
|
327
|
-
if (!string.IsNullOrEmpty(data))
|
|
328
|
-
{
|
|
329
|
-
if (TapLogger.LogDelegate != null)
|
|
330
|
-
{
|
|
331
|
-
if (isError)
|
|
332
|
-
{
|
|
333
|
-
TapLogger.Error(data);
|
|
334
|
-
}
|
|
335
|
-
else
|
|
336
|
-
{
|
|
337
|
-
TapLogger.Debug(data);
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
}
|
|
341
|
-
else
|
|
342
|
-
{
|
|
343
|
-
if (alwaysShow || TapTapSDK.taptapSdkOptions.enableLog)
|
|
344
|
-
{
|
|
345
|
-
if (isError)
|
|
346
|
-
{
|
|
347
|
-
UnityEngine.Debug.LogErrorFormat($"[TapSDK] ERROR: {data}");
|
|
348
|
-
}
|
|
349
|
-
else
|
|
350
|
-
{
|
|
351
|
-
UnityEngine.Debug.LogFormat($"[TapSDK] INFO: {data}");
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
|
|
358
331
|
// 初始化校验结果
|
|
359
332
|
private class TapInitResult
|
|
360
333
|
{
|
|
@@ -56,7 +56,7 @@ namespace TapSDK.Core.Standalone
|
|
|
56
56
|
}
|
|
57
57
|
if (!IsValidUserID(userID))
|
|
58
58
|
{
|
|
59
|
-
|
|
59
|
+
TapLog.Error("Invalid user ID, length should be 1-160 and only contains a-zA-Z0-9_+/=.,:");
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -103,7 +103,7 @@ namespace TapSDK.Core.Standalone
|
|
|
103
103
|
// name 长度256非空,不符合的丢事件,打log
|
|
104
104
|
if (!checkLength(name))
|
|
105
105
|
{
|
|
106
|
-
|
|
106
|
+
TapLog.Error(name + " Event name length should be less than or equal to 256 characters.");
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
109
|
Dictionary<string, object> prop = Json.Deserialize(properties) as Dictionary<string, object>;
|
|
@@ -207,12 +207,12 @@ namespace TapSDK.Core.Standalone
|
|
|
207
207
|
}
|
|
208
208
|
if (!checkLength(key))
|
|
209
209
|
{
|
|
210
|
-
|
|
210
|
+
TapLog.Error(key + " Property key length should be less than or equal to 256 characters.");
|
|
211
211
|
return;
|
|
212
212
|
}
|
|
213
213
|
if (!checkLength(value))
|
|
214
214
|
{
|
|
215
|
-
|
|
215
|
+
TapLog.Error(value + " Property value length should be less than or equal to 256 characters.");
|
|
216
216
|
return;
|
|
217
217
|
}
|
|
218
218
|
Tracker.AddCommonProperty(key, value);
|
|
@@ -287,7 +287,7 @@ namespace TapSDK.Core.Standalone
|
|
|
287
287
|
}
|
|
288
288
|
if (amount <= 0 || amount > 100000000000)
|
|
289
289
|
{
|
|
290
|
-
|
|
290
|
+
TapLog.Error(amount + " is invalid, amount should be in range (0, 100000000000]");
|
|
291
291
|
return;
|
|
292
292
|
}
|
|
293
293
|
Tracker.LogPurchasedEvent(orderID, productName, amount, currencyType, paymentMethod, properties);
|
|
@@ -313,7 +313,7 @@ namespace TapSDK.Core.Standalone
|
|
|
313
313
|
/// <param name="value">oaid</param>
|
|
314
314
|
public void SetOAID(string value)
|
|
315
315
|
{
|
|
316
|
-
|
|
316
|
+
TapLog.Log("SetOAID called in PC platform (empty implementation)");
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
/// <summary>
|
|
@@ -321,7 +321,7 @@ namespace TapSDK.Core.Standalone
|
|
|
321
321
|
/// </summary>
|
|
322
322
|
public void LogDeviceLoginEvent()
|
|
323
323
|
{
|
|
324
|
-
|
|
324
|
+
TapLog.Log("LogDeviceLoginEvent called in PC platform (empty implementation)");
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
/// <summary>
|
|
@@ -402,12 +402,12 @@ namespace TapSDK.Core.Standalone
|
|
|
402
402
|
{
|
|
403
403
|
if (property.Key.Length <= 0 || property.Key.Length > 256)
|
|
404
404
|
{
|
|
405
|
-
|
|
405
|
+
TapLog.Log(property.Key + " Property key length should be more then 0 and less than or equal to 256 characters.");
|
|
406
406
|
continue;
|
|
407
407
|
}
|
|
408
408
|
if (property.Value.ToString().Length > 256)
|
|
409
409
|
{
|
|
410
|
-
|
|
410
|
+
TapLog.Log(property.Value + " Property value length should be less than or equal to 256 characters.");
|
|
411
411
|
continue;
|
|
412
412
|
}
|
|
413
413
|
filteredProperties.Add(property.Key, property.Value);
|
package/link.xml.meta
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"name": "com.taptap.sdk.core",
|
|
3
|
+
"displayName": "TapTapSDK Core",
|
|
4
|
+
"description": "TapTapSDK Core",
|
|
5
|
+
"version": "4.8.1-beta.1",
|
|
6
|
+
"unity": "2019.4",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"com.google.external-dependency-manager": "1.2.179"
|
|
10
|
+
}
|
|
11
11
|
}
|