com.amanotes.gdk 0.2.94 → 0.2.95
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/AutoEventQC.unitypackage +0 -0
- package/Extra/CheckDiskSpace.unitypackage +0 -0
- package/Extra/Consent.unitypackage +0 -0
- package/Extra/CrashlyticHook.unitypackage +0 -0
- package/Extra/ForceUpdate.unitypackage +0 -0
- package/Extra/LegacyGDKUpdateHelper.unitypackage +0 -0
- package/Extra/PostProcessor.unitypackage +0 -0
- package/Packages/AmaGDKConfig.unitypackage +0 -0
- package/Packages/AmaGDKExample.unitypackage +0 -0
- package/Packages/AmaGDKTest.unitypackage +0 -0
- package/Packages/AppsFlyerAdapter.PurchaseConnector.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/MaxAdNetworkAdapter.unitypackage +0 -0
- package/Packages/RevenueCatAdapter.unitypackage +0 -0
- package/Packages/SqliteAnalyticsAdapter.unitypackage +0 -0
- package/Runtime/AmaGDK.cs +1 -1
- package/Runtime/Internal/GDKServerTime.cs +4 -5
- 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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Runtime/AmaGDK.cs
CHANGED
|
@@ -27,7 +27,7 @@ namespace Amanotes.Core
|
|
|
27
27
|
{
|
|
28
28
|
public partial class AmaGDK : MonoBehaviour
|
|
29
29
|
{
|
|
30
|
-
public const string VERSION = "0.2.
|
|
30
|
+
public const string VERSION = "0.2.95";
|
|
31
31
|
|
|
32
32
|
internal static Status _status = Status.None;
|
|
33
33
|
internal static ConfigAsset _config = null;
|
|
@@ -190,26 +190,25 @@ namespace Amanotes.Core.Internal
|
|
|
190
190
|
}
|
|
191
191
|
else
|
|
192
192
|
{
|
|
193
|
-
result?.Invoke(null);
|
|
194
193
|
Log(data.errorMessage);
|
|
195
|
-
FetchTimeWithOtherProvider();
|
|
194
|
+
FetchTimeWithOtherProvider(result);
|
|
196
195
|
}
|
|
197
196
|
});
|
|
198
197
|
}
|
|
199
198
|
|
|
200
|
-
private void FetchTimeWithOtherProvider()
|
|
199
|
+
private void FetchTimeWithOtherProvider(Action<DateTime?> result)
|
|
201
200
|
{
|
|
202
201
|
retryCount++;
|
|
203
202
|
currentIndex = (currentIndex + 1) % providers.Count;
|
|
204
203
|
if (retryCount < providers.Count)
|
|
205
204
|
{
|
|
206
|
-
UpdateTime();
|
|
205
|
+
UpdateTime(result);
|
|
207
206
|
return;
|
|
208
207
|
}
|
|
209
208
|
float waitTime = Mathf.Min(MAX_WAIT_TIME, Mathf.Pow(2, retryCount - providers.Count + 1));
|
|
210
209
|
GDKUtils.DelayCall(waitTime, () =>
|
|
211
210
|
{
|
|
212
|
-
UpdateTime();
|
|
211
|
+
UpdateTime(result);
|
|
213
212
|
});
|
|
214
213
|
}
|
|
215
214
|
}
|