com.amanotes.gdk 0.2.29 → 0.2.30
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/Extra/AmaGDKInstaller.unitypackage +0 -0
- package/Extra/AmaGDKProject.unitypackage +0 -0
- package/Packages/AmaGDKConfig.unitypackage +0 -0
- package/Packages/AmaGDKExample.unitypackage +0 -0
- package/Packages/AmaGDKTest.unitypackage +0 -0
- package/Packages/AppsFlyerAdapter_v6.5.4.unitypackage +0 -0
- package/Packages/FirebaseAnalyticsAdapter_v9.1.0.unitypackage +0 -0
- package/Packages/FirebaseRemoteConfigAdapter_v9.1.0.unitypackage +0 -0
- package/Packages/IronSourceAdapter_v7.2.6.unitypackage +0 -0
- package/Packages/RevenueCatAdapter_v6.0.0.unitypackage +0 -0
- package/Runtime/AmaGDK.Ads.cs +1 -1
- package/Runtime/AmaGDK.UserProfile.cs +1 -1
- package/Runtime/AmaGDK.Utils.cs +4 -5
- package/Runtime/AmaGDK.cs +1 -1
- 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
|
package/Runtime/AmaGDK.Ads.cs
CHANGED
|
@@ -369,7 +369,7 @@ namespace Amanotes.Core.Internal
|
|
|
369
369
|
|
|
370
370
|
public abstract class AdLogic
|
|
371
371
|
{
|
|
372
|
-
private static readonly
|
|
372
|
+
private static readonly WaitForSecondsRealtime wait1Sec = new WaitForSecondsRealtime(1f);
|
|
373
373
|
|
|
374
374
|
internal LoadAdsState _loadState = LoadAdsState.None;
|
|
375
375
|
internal bool hasAd
|
|
@@ -52,7 +52,7 @@ namespace Amanotes.Core
|
|
|
52
52
|
private const string AMA_DEVICE_ID_KEY = "ama_device_id";
|
|
53
53
|
private const float TIME_OUT = 5f;
|
|
54
54
|
private const float WAIT_TIME = 0.5f;
|
|
55
|
-
private
|
|
55
|
+
private WaitForSecondsRealtime waitForDuration = new WaitForSecondsRealtime(WAIT_TIME);
|
|
56
56
|
|
|
57
57
|
internal IEnumerator Init()
|
|
58
58
|
{
|
package/Runtime/AmaGDK.Utils.cs
CHANGED
|
@@ -9,7 +9,7 @@ using static Amanotes.Core.Internal.Logging;
|
|
|
9
9
|
|
|
10
10
|
namespace Amanotes.Core.Internal
|
|
11
11
|
{
|
|
12
|
-
public class GDKUtils
|
|
12
|
+
public static class GDKUtils
|
|
13
13
|
{
|
|
14
14
|
public static void DelayCall(float seconds, Action action)
|
|
15
15
|
{
|
|
@@ -18,14 +18,13 @@ namespace Amanotes.Core.Internal
|
|
|
18
18
|
|
|
19
19
|
private static IEnumerator DelayCallRoutine(float seconds, Action callback)
|
|
20
20
|
{
|
|
21
|
-
yield return new
|
|
21
|
+
yield return new WaitForSecondsRealtime(seconds);
|
|
22
22
|
callback();
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
internal class GDKFileUtils
|
|
26
|
+
internal static class GDKFileUtils
|
|
27
27
|
{
|
|
28
|
-
|
|
29
28
|
private static string _basePath;
|
|
30
29
|
private static string basePath
|
|
31
30
|
{
|
|
@@ -83,7 +82,7 @@ namespace Amanotes.Core.Internal
|
|
|
83
82
|
LogWarningOnce("File name must be not null or empty");
|
|
84
83
|
return;
|
|
85
84
|
}
|
|
86
|
-
|
|
85
|
+
|
|
87
86
|
if (contents == null || !contents.GetEnumerator().MoveNext())
|
|
88
87
|
{
|
|
89
88
|
LogWarningOnce($"Content for {fileName} is empty");
|
package/Runtime/AmaGDK.cs
CHANGED