com.chartboost.mediation.unity.adapter.pangle 5.2.0 → 5.3.0
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/.checksum +1 -1
- package/CHANGELOG.md +10 -0
- package/Chartboost.CSharp.Mediation.Unity.Adapter.Pangle.nuspec +1 -1
- package/Editor/PangleAdapterDependencies.xml +2 -2
- package/README.md +1 -1
- package/Runtime/Android/PangleAdapter.cs +5 -4
- package/Runtime/Pangle/Common/IPangleAdapter.cs +1 -0
- package/Runtime/Pangle/Common/PangleDoNotSellType.cs +0 -1
- package/Runtime/Pangle/Common/PangleGDPRConsentType.cs +3 -0
- package/Runtime/Pangle/PangleAdapter.cs +2 -1
- package/Runtime/iOS/PangleAdapter.cs +3 -2
- package/Runtime/iOS/Plugins/iOS/CBMPangleUnityBridge.mm +0 -5
- package/package.json +1 -1
package/.checksum
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
53fd264c034293cffda071d34a128509
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file using the standards as defined at [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0).
|
|
3
3
|
|
|
4
|
+
### Version 5.3.0 *(2026-04-21)*
|
|
5
|
+
This version of the Pangle Adapter supports the following native SDK dependencies:
|
|
6
|
+
* Android: `com.chartboost:chartboost-mediation-adapter-pangle:5.7.1.+`
|
|
7
|
+
* iOS: `ChartboostMediationAdapterPangle: ~> 5.8.0.0`
|
|
8
|
+
|
|
9
|
+
### Version 5.2.1 *(2026-02-04)*
|
|
10
|
+
This version of the Pangle Adapter supports the following native SDK dependencies:
|
|
11
|
+
* Android: `com.chartboost:chartboost-mediation-adapter-pangle:5.7.1.+`
|
|
12
|
+
* iOS: `ChartboostMediationAdapterPangle: ~> 5.7.9.0`
|
|
13
|
+
|
|
4
14
|
### Version 5.2.0 *(2026-01-20)*
|
|
5
15
|
This version of the Pangle Adapter supports the following native SDK dependencies:
|
|
6
16
|
* Android: `com.chartboost:chartboost-mediation-adapter-pangle:5.7.1.+`
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<package>
|
|
3
3
|
<metadata>
|
|
4
4
|
<id>Chartboost.CSharp.Mediation.Unity.Adapter.Pangle</id>
|
|
5
|
-
<version>5.
|
|
5
|
+
<version>5.3.0</version>
|
|
6
6
|
<title>Chartboost Mediation Adapter - Pangle</title>
|
|
7
7
|
<description>The Chartboost Mediation Unity SDK Adapter for Pangle.</description>
|
|
8
8
|
<authors>Chartboost</authors>
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
</androidPackages>
|
|
12
12
|
<iosPods>
|
|
13
13
|
<!-- iOS Adapter -->
|
|
14
|
-
<iosPod name="ChartboostMediationAdapterPangle" version="~> 5.
|
|
14
|
+
<iosPod name="ChartboostMediationAdapterPangle" version="~> 5.8.0.0"/>
|
|
15
15
|
|
|
16
16
|
<!-- Partner iOS SDK-->
|
|
17
|
-
<iosPod name="Ads-Global" version="~>
|
|
17
|
+
<iosPod name="Ads-Global" version="~> 8.0.0" addToAllTargets="false"/>
|
|
18
18
|
</iosPods>
|
|
19
19
|
</dependencies>
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ In order to add the Chartboost Mediation Unity SDK - Pangle Adapter to your proj
|
|
|
12
12
|
|
|
13
13
|
```json
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"com.chartboost.mediation.unity.adapter.pangle": "5.
|
|
15
|
+
"com.chartboost.mediation.unity.adapter.pangle": "5.3.0",
|
|
16
16
|
...
|
|
17
17
|
},
|
|
18
18
|
"scopedRegistries": [
|
|
@@ -7,7 +7,8 @@ namespace Chartboost.Mediation.Pangle.Android
|
|
|
7
7
|
internal sealed class PangleAdapter : IPangleAdapter
|
|
8
8
|
{
|
|
9
9
|
private const string PangleAdapterConfiguration = "com.chartboost.mediation.pangleadapter.PangleAdapterConfiguration";
|
|
10
|
-
|
|
10
|
+
// ReSharper disable once InconsistentNaming
|
|
11
|
+
private const string FunctionSetPAConsentOverride = "setPAConsentOverride";
|
|
11
12
|
|
|
12
13
|
[RuntimeInitializeOnLoadMethod]
|
|
13
14
|
private static void RegisterInstance()
|
|
@@ -60,14 +61,14 @@ namespace Chartboost.Mediation.Pangle.Android
|
|
|
60
61
|
/// <inheritdoc/>
|
|
61
62
|
public void SetGDPRConsentOverride(PangleGDPRConsentType gdprConsent)
|
|
62
63
|
{
|
|
63
|
-
|
|
64
|
-
adapterConfiguration.Call(FunctionSetGdprConsentOverride, (int)gdprConsent);
|
|
64
|
+
// Do nothing on Android, deprecated.
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/// <inheritdoc/>
|
|
68
68
|
public void SetPAConsentOverride(PanglePAConsentType paConsentType)
|
|
69
69
|
{
|
|
70
|
-
|
|
70
|
+
using var adapterConfiguration = new AndroidJavaObject(PangleAdapterConfiguration);
|
|
71
|
+
adapterConfiguration.Call(FunctionSetPAConsentOverride, (int)paConsentType);
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
/// <inheritdoc/>
|
|
@@ -12,6 +12,7 @@ namespace Chartboost.Mediation.Pangle.Common
|
|
|
12
12
|
/// Use to manually set the consent status on the Pangle SDK.
|
|
13
13
|
/// This is generally unnecessary as the Mediation SDK will set the consent status automatically based on the latest consent info.
|
|
14
14
|
/// </summary>
|
|
15
|
+
[Obsolete("This method is no longer supported and will be removed in a future release.")]
|
|
15
16
|
public void SetGDPRConsentOverride(PangleGDPRConsentType gdprConsent);
|
|
16
17
|
|
|
17
18
|
/// <summary>
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// ReSharper disable once CheckNamespace
|
|
2
|
+
using System;
|
|
3
|
+
|
|
2
4
|
namespace Chartboost.Mediation.Pangle
|
|
3
5
|
{
|
|
6
|
+
[Obsolete("This enum is no longer supported and will be removed in a future release.")]
|
|
4
7
|
public enum PangleGDPRConsentType
|
|
5
8
|
{
|
|
6
9
|
PangleGDPRConsentTypeDefault = -1,
|
|
@@ -13,7 +13,7 @@ namespace Chartboost.Mediation.Pangle
|
|
|
13
13
|
/// <summary>
|
|
14
14
|
/// The partner adapter Unity version.
|
|
15
15
|
/// </summary>
|
|
16
|
-
public const string AdapterUnityVersion = "5.
|
|
16
|
+
public const string AdapterUnityVersion = "5.3.0";
|
|
17
17
|
|
|
18
18
|
/// <inheritdoc cref="IPartnerAdapterConfiguration.AdapterNativeVersion"/>
|
|
19
19
|
public static string AdapterNativeVersion => Instance.AdapterNativeVersion;
|
|
@@ -28,6 +28,7 @@ namespace Chartboost.Mediation.Pangle
|
|
|
28
28
|
public static string PartnerDisplayName => Instance.PartnerDisplayName;
|
|
29
29
|
|
|
30
30
|
/// <inheritdoc cref="IPangleAdapter.SetGDPRConsentOverride"/>
|
|
31
|
+
[Obsolete("This method is no longer supported and will be removed in a future release. Use SetPAConsentOverride instead.")]
|
|
31
32
|
public static void SetGDPRConsentOverride(PangleGDPRConsentType gdprConsent)
|
|
32
33
|
=> Instance.SetGDPRConsentOverride(gdprConsent);
|
|
33
34
|
|
|
@@ -29,7 +29,9 @@ namespace Chartboost.Mediation.Pangle.IOS
|
|
|
29
29
|
|
|
30
30
|
/// <inheritdoc/>
|
|
31
31
|
public void SetGDPRConsentOverride(PangleGDPRConsentType gdprConsent)
|
|
32
|
-
|
|
32
|
+
{
|
|
33
|
+
// Do nothing on iOS, deprecated.
|
|
34
|
+
}
|
|
33
35
|
|
|
34
36
|
/// <inheritdoc/>
|
|
35
37
|
public void SetPAConsentOverride(PanglePAConsentType paConsentType)
|
|
@@ -44,7 +46,6 @@ namespace Chartboost.Mediation.Pangle.IOS
|
|
|
44
46
|
[DllImport(SharedIOSConstants.DLLImport)] private static extern string _CBMPangleAdapterPartnerSDKVersion();
|
|
45
47
|
[DllImport(SharedIOSConstants.DLLImport)] private static extern string _CBMPangleAdapterPartnerId();
|
|
46
48
|
[DllImport(SharedIOSConstants.DLLImport)] private static extern string _CBMPangleAdapterPartnerDisplayName();
|
|
47
|
-
[DllImport(SharedIOSConstants.DLLImport)] private static extern void _CBMPangleAdapterSetGDPRConsentOverride(int gdprConsent);
|
|
48
49
|
[DllImport(SharedIOSConstants.DLLImport)] private static extern void _CBMPangleAdapterSetPAConsentOverride(int gdprConsent);
|
|
49
50
|
}
|
|
50
51
|
}
|
|
@@ -21,11 +21,6 @@ extern "C" {
|
|
|
21
21
|
return toCStringOrNull([PangleAdapterConfiguration partnerDisplayName]);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
void _CBMPangleAdapterSetGDPRConsentOverride(int gdprConsent)
|
|
25
|
-
{
|
|
26
|
-
[PangleAdapterConfiguration setGDPRConsentOverride:(PAGGDPRConsentType)gdprConsent];
|
|
27
|
-
}
|
|
28
|
-
|
|
29
24
|
void _CBMPangleAdapterSetPAConsentOverride(int paConsent)
|
|
30
25
|
{
|
|
31
26
|
[PangleAdapterConfiguration setPAConsentTypeOverride:(PAGPAConsentType)paConsent];
|
package/package.json
CHANGED