com.amanotes.gdk 0.2.53 → 0.2.54
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/CHANGELOG.md +4 -0
- package/Extra/AmaGDKInstaller.unitypackage +0 -0
- package/Extra/CheckDiskSpace.unitypackage +0 -0
- package/Extra/ForceUpdate.unitypackage +0 -0
- package/Extra/PostProcessor.unitypackage +0 -0
- package/Extra/SDKVersionTracking.unitypackage +0 -0
- package/Packages/AmaGDKConfig.unitypackage +0 -0
- package/Packages/AmaGDKExample.unitypackage +0 -0
- package/Packages/AmaGDKTest.unitypackage +0 -0
- package/Packages/AppsFlyerAdapter.unitypackage +0 -0
- package/Packages/FirebaseAnalyticsAdapter.unitypackage +0 -0
- package/Packages/FirebaseRemoteConfigAdapter.unitypackage +0 -0
- package/Packages/IronSourceAdapter.unitypackage +0 -0
- package/Packages/RevenueCatAdapter.unitypackage +0 -0
- package/Runtime/AmaGDK.Analytics.cs +3 -2
- package/Runtime/AmaGDK.cs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -399,7 +399,7 @@ namespace Amanotes.Core
|
|
|
399
399
|
var (countInSession, totalCount) = localData.IncreaseCounter(eventParams);
|
|
400
400
|
if (eventParams.accumulated || eventParams.parameters.ContainsKey("accumulated_count"))
|
|
401
401
|
{
|
|
402
|
-
UpdateAccumulatedCount(eventParams, countInSession, totalCount);
|
|
402
|
+
UpdateAccumulatedCount(eventParams, countInSession, ref totalCount);
|
|
403
403
|
}
|
|
404
404
|
|
|
405
405
|
string eventNameToSend = GetEventNameToSend(eventParams.eventName, countInSession, totalCount);
|
|
@@ -444,7 +444,7 @@ namespace Amanotes.Core
|
|
|
444
444
|
localData.SaveIfDirty();
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
internal static void UpdateAccumulatedCount(EventParams eventData, int countInSession, int totalCount)
|
|
447
|
+
internal static void UpdateAccumulatedCount(EventParams eventData, int countInSession, ref int totalCount)
|
|
448
448
|
{
|
|
449
449
|
var ACCUMULATED_COUNT = "accumulated_count";
|
|
450
450
|
var countByGDK = eventData.withinSession ? countInSession : totalCount;
|
|
@@ -463,6 +463,7 @@ namespace Amanotes.Core
|
|
|
463
463
|
{
|
|
464
464
|
Log($"[Analytics] Update event count of event <{eventData.eventName}> from {countByGDK} to {oriAccCount}");
|
|
465
465
|
eventData.EventDetail.totalCount = oriAccCount;
|
|
466
|
+
totalCount = oriAccCount;
|
|
466
467
|
localData._dirty = true;
|
|
467
468
|
}
|
|
468
469
|
}
|
package/Runtime/AmaGDK.cs
CHANGED
|
@@ -17,7 +17,7 @@ namespace Amanotes.Core
|
|
|
17
17
|
{
|
|
18
18
|
public partial class AmaGDK : MonoBehaviour
|
|
19
19
|
{
|
|
20
|
-
public const string VERSION = "0.2.
|
|
20
|
+
public const string VERSION = "0.2.54";
|
|
21
21
|
|
|
22
22
|
internal static AmaGDK _instance;
|
|
23
23
|
internal static Status _status = Status.None;
|
|
@@ -187,7 +187,7 @@ namespace Amanotes.Core
|
|
|
187
187
|
var sb = new StringBuilder();
|
|
188
188
|
InitModules();
|
|
189
189
|
|
|
190
|
-
yield return InitHook();
|
|
190
|
+
yield return InitHook(); //Google CMP takes long at first time (~ 1.7s)
|
|
191
191
|
yield return WaitForManualInit();
|
|
192
192
|
yield return InitAdapters(sb);
|
|
193
193
|
|