com.amanotes.gdk 0.2.2 → 0.2.4

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,6 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## [0.2.2 - 2023-06-06]
3
+ ## [0.2.4 - 2023-06-07]
4
+ ### Hotfix Ads module
5
+ ### Update Analytics unit tests
6
+
7
+ ## [0.2.3 - 2023-06-06]
4
8
  ### Refactor Ads module, support ironSource
5
9
  ### Refactor AmaPassport
6
10
  ### Refactor AmaGDK structure
Binary file
Binary file
Binary file
@@ -129,9 +129,9 @@ namespace Amanotes.Core
129
129
  internal static void Init()
130
130
  {
131
131
  _adapter = Adapter.GetSingleAdapter<IAdAdapter>();
132
- _adConfig = ((AdapterContext)_adapter).GetAdapterConfig<AdAdapterConfig>();
133
- _adapter.interstitial.StartLoadAd();
134
- _adapter.rewardVideo.StartLoadAd();
132
+ _adConfig = ((AdapterContext)_adapter)?.GetAdapterConfig<AdAdapterConfig>();
133
+ _adapter?.interstitial.StartLoadAd();
134
+ _adapter?.rewardVideo.StartLoadAd();
135
135
  }
136
136
 
137
137
  public static bool HasInterstitial => _adapter.interstitial.hasAd;
package/Runtime/AmaGDK.cs CHANGED
@@ -9,7 +9,7 @@ namespace Amanotes.Core
9
9
  {
10
10
  public partial class AmaGDK : MonoBehaviour
11
11
  {
12
- public const string VERSION = "0.2.2";
12
+ public const string VERSION = "0.2.4";
13
13
 
14
14
  internal static AmaGDK _instance;
15
15
  internal static Status _status = Status.None;
@@ -100,8 +100,7 @@ namespace Amanotes.Core
100
100
 
101
101
  // Init modules (Adapter managers)
102
102
  Analytics.Init();
103
-
104
- //Ads.Init();
103
+ Ads.Init();
105
104
 
106
105
  _status = Status.Ready;
107
106
  _onReadyCallback?.Invoke();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.amanotes.gdk",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "displayName": "AmaGDK",
5
5
  "description": "Amanotes Game Development Kit",
6
6
  "unity": "2020.3",