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 +3 -0
- package/Runtime/AmaGDK.Analytics.cs +8 -1
- package/Runtime/AmaGDK.cs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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