com.amanotes.gdk 0.2.46-2 → 0.2.46-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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.46-3 - 2024-01-31]
4
+ - Resolve early log events
5
+
3
6
  ## [0.2.46-2 - 2024-01-18]
4
7
  - Update UserId every session
5
8
  - Migrate accumulated_count gradually
@@ -1,4 +1,5 @@
1
1
  using System;
2
+ using System.Collections;
2
3
  using System.Collections.Generic;
3
4
  using System.Text;
4
5
  using Amanotes.Core.Internal;
@@ -261,11 +262,17 @@ namespace Amanotes.Core
261
262
  if (listAdapters.Count != 0)
262
263
  primaryAdapter = listAdapters.Find(a => a.adapterId == AdapterID.FIREBASE_ANALYTICS) ?? listAdapters[0];
263
264
 
265
+ _instance.StartCoroutine(RegisterGDKUpdate());
266
+ }
267
+
268
+ static IEnumerator RegisterGDKUpdate()
269
+ {
270
+ yield return new WaitUntil(() => primaryAdapter.IsReady);
264
271
  onFrameUpdate -= ProcessEventQueue;
265
272
  onFrameUpdate += ProcessEventQueue;
266
273
 
267
274
  onFrameUpdate -= ProcessActionQueue;
268
- onFrameUpdate += ProcessActionQueue;
275
+ onFrameUpdate += ProcessActionQueue;
269
276
  }
270
277
 
271
278
  internal static void ProcessEventQueue()
package/Runtime/AmaGDK.cs CHANGED
@@ -15,7 +15,7 @@ namespace Amanotes.Core
15
15
  {
16
16
  public partial class AmaGDK : MonoBehaviour
17
17
  {
18
- public const string VERSION = "0.2.46-2";
18
+ public const string VERSION = "0.2.46-3";
19
19
 
20
20
  internal static AmaGDK _instance;
21
21
  internal static Status _status = Status.None;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.amanotes.gdk",
3
- "version": "0.2.46-2",
3
+ "version": "0.2.46-3",
4
4
  "displayName": "AmaGDK",
5
5
  "description": "Amanotes Game Development Kit",
6
6
  "unity": "2019.4",