com.azerion.bluestack 3.0.0 → 3.0.1-preview2

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.
@@ -3,7 +3,6 @@
3
3
  <androidPackage spec="com.azerion:bluestack-sdk-core:4.3.0" />
4
4
  </androidPackages>
5
5
  <iosPods>
6
- <iosPod name="BlueStack-SDK" version="4.2.9" bitcodeEnabled="false"
7
- addToAllTargets="false"/>
6
+ <iosPod name="BlueStack-SDK" version="4.3.1-preview.1" bitcodeEnabled="false" addToAllTargets="false"/>
8
7
  </iosPods>
9
8
  </dependencies>
@@ -7,9 +7,9 @@ namespace Azerion.BlueStack.Editor
7
7
  private static BlueStackSettings instance;
8
8
  private const string BlueStackSettingsFile = "BlueStackSettings";
9
9
 
10
- #if !UNITY_ANDROID
11
- [HideInInspector]
12
- #endif
10
+ // #if !UNITY_ANDROID
11
+ // [HideInInspector]
12
+ // #endif
13
13
  [SerializeField] private string admobAppIdAndroid;
14
14
  public string AdmobAppIdAndroid
15
15
  {
@@ -17,9 +17,9 @@ namespace Azerion.BlueStack.Editor
17
17
  set { Instance.admobAppIdAndroid = value; }
18
18
  }
19
19
 
20
- #if !UNITY_IOS
21
- [HideInInspector]
22
- #endif
20
+ // #if !UNITY_IOS
21
+ // [HideInInspector]
22
+ // #endif
23
23
  [SerializeField] private string admobAppIdIOS;
24
24
  public string AdmobAppIdIOS
25
25
  {
@@ -24,7 +24,7 @@ namespace Azerion.BlueStack.API
24
24
 
25
25
  private NativeAdInteractionHandler _nativeAdInteractionHandler;
26
26
 
27
- public NativeAd(string placementId) : this(placementId,
27
+ internal NativeAd(string placementId) : this(placementId,
28
28
  BlueStackAds.GetClientsFactory().CreateNativeAdClient())
29
29
  {
30
30
  }
@@ -188,6 +188,7 @@ namespace Azerion.BlueStack.API
188
188
 
189
189
  ~NativeAd()
190
190
  {
191
+ Debug.Log("NativeAd Destructor was called");
191
192
  AdsEventExecutor.ExecuteInUpdate(delegate
192
193
  {
193
194
  Destroy();
@@ -41,9 +41,8 @@ namespace Azerion.BlueStack.API
41
41
 
42
42
  this.OnNativeAdLoaded?.Invoke(this, nativeAdEventArgs);
43
43
  };
44
-
45
44
  }
46
-
45
+
47
46
  public string AdUnitId { get; private set; }
48
47
  public HashSet<NativeAdType> AdTypes { get; private set; }
49
48
  public HashSet<string> FormatIds { get; private set; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.azerion.bluestack",
3
- "version": "3.0.0",
3
+ "version": "3.0.1-preview2",
4
4
  "displayName": "BlueStack",
5
5
  "description": "BlueStack SDK has been designed to give developers options for showing Ads from different ad networks.",
6
6
  "unity": "2020.3",