com.amanotes.gdk 0.2.42 → 0.2.44
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 +6 -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.5.2.unitypackage +0 -0
- package/Packages/{AppsFlyerAdRevenuePlugin.unitypackage.meta → IronSourceAdapter_v7.5.2.unitypackage.meta} +1 -1
- package/Packages/IronsourceAdapter_v7.2.6.unitypackage +0 -0
- package/Packages/RevenueCatAdapter_v6.0.0.unitypackage +0 -0
- package/Runtime/AmaGDK.UserProfile.cs +10 -10
- package/Runtime/AmaGDK.cs +9 -3
- package/package.json +1 -1
- package/Packages/AppsFlyerAdRevenuePlugin.unitypackage +0 -0
- package/Packages/IronSourceAdapter_v7.2.6.unitypackage +0 -0
- /package/Packages/{IronSourceAdapter_v7.2.6.unitypackage.meta → IronsourceAdapter_v7.2.6.unitypackage.meta} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.44 - 2023-12-08]
|
|
4
|
+
- [Fix] Auto log Ad events
|
|
5
|
+
|
|
6
|
+
## [0.2.43 - 2023-12-06]
|
|
7
|
+
- [Fix] Support AmaDeviceId on Standalone
|
|
8
|
+
|
|
3
9
|
## [0.2.42 - 2023-11-28]
|
|
4
10
|
- [Fix] AdShowNotReady only trigger for 3 type of status
|
|
5
11
|
- [Fix] WaitForSeconds can not be shared between different routines
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -33,7 +33,11 @@ namespace Amanotes.Core
|
|
|
33
33
|
{
|
|
34
34
|
public string UserId
|
|
35
35
|
{
|
|
36
|
-
get
|
|
36
|
+
get
|
|
37
|
+
{
|
|
38
|
+
if (string.IsNullOrWhiteSpace(_userId)) UpdateUserId();
|
|
39
|
+
return _userId;
|
|
40
|
+
}
|
|
37
41
|
private set
|
|
38
42
|
{
|
|
39
43
|
_userId = value;
|
|
@@ -72,24 +76,20 @@ namespace Amanotes.Core
|
|
|
72
76
|
set => _pseudoId = ValidateId(value, ALPHANUMERIC_PATTERN);
|
|
73
77
|
}
|
|
74
78
|
|
|
75
|
-
#if
|
|
79
|
+
#if UNITY_ANDROID
|
|
76
80
|
public string AmaDeviceId
|
|
77
81
|
{
|
|
78
82
|
get => _amaDeviceId;
|
|
79
|
-
set => _amaDeviceId = ValidateId(value,
|
|
83
|
+
set => _amaDeviceId = ValidateId(value, ALPHANUMERIC_PATTERN);
|
|
80
84
|
}
|
|
81
|
-
#
|
|
82
|
-
|
|
83
|
-
#if UNITY_ANDROID
|
|
85
|
+
#else
|
|
84
86
|
public string AmaDeviceId
|
|
85
87
|
{
|
|
86
88
|
get => _amaDeviceId;
|
|
87
|
-
set => _amaDeviceId = ValidateId(value,
|
|
89
|
+
set => _amaDeviceId = ValidateId(value, ALPHANUMERIC_HYPHEN_PATTERN);
|
|
88
90
|
}
|
|
89
91
|
#endif
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
92
|
+
|
|
93
93
|
public string AppsFlyerId
|
|
94
94
|
{
|
|
95
95
|
get => _appsFlyerId;
|
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.
|
|
18
|
+
public const string VERSION = "0.2.44";
|
|
19
19
|
|
|
20
20
|
internal static AmaGDK _instance;
|
|
21
21
|
internal static Status _status = Status.None;
|
|
@@ -120,12 +120,11 @@ namespace Amanotes.Core
|
|
|
120
120
|
adapterAnnounce.AppendLine(string.Format("[{0}] {1} (adapter v{2})", adapter.IsReady ? "OK" : "FAIL",
|
|
121
121
|
adapter.adapterId, adapter.adapterVersion));
|
|
122
122
|
|
|
123
|
-
if (adapter.adapterId == AdapterID.FIREBASE_ANALYTICS) User.UpdateUserId();
|
|
124
|
-
|
|
125
123
|
// Wait for postprocessing of each adapter
|
|
126
124
|
yield return null;
|
|
127
125
|
}
|
|
128
126
|
_onAdapterReadyCallback = null;
|
|
127
|
+
User.UpdateUserId();
|
|
129
128
|
|
|
130
129
|
// Init modules (Adapter managers)
|
|
131
130
|
Analytics.Init();
|
|
@@ -212,6 +211,13 @@ namespace Amanotes.Core
|
|
|
212
211
|
LogWarning("Cannot add a null callback!");
|
|
213
212
|
return;
|
|
214
213
|
}
|
|
214
|
+
|
|
215
|
+
if (isReady)
|
|
216
|
+
{
|
|
217
|
+
onReady.Invoke();
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
|
|
215
221
|
_onReadyCallback -= onReady;
|
|
216
222
|
_onReadyCallback += onReady;
|
|
217
223
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
File without changes
|