com.chartboost.mediation.unity.adapter.pangle 5.3.2 → 5.3.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/.checksum +1 -1
- package/CHANGELOG.md +10 -0
- package/Chartboost.CSharp.Mediation.Unity.Adapter.Pangle.nuspec +2 -2
- package/Editor/PangleAdapterDependencies.xml +2 -2
- package/README.md +1 -1
- package/Runtime/Pangle/PangleAdapter.cs +1 -1
- package/Tests/Editor/Chartboost.Mediation.Pangle.Tests.Editor.asmdef +1 -1
- package/Tests/Editor/VersionValidator.cs +1 -6
- package/Tests/Runtime/Chartboost.Mediation.Pangle.Tests.Runtime.asmdef +1 -2
- package/Tests/Runtime/PangleAdapterTests.cs +23 -53
- package/package.json +2 -2
package/.checksum
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b149d7aa4e1bf73f3420272bc46c1c0b
|
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.4 *(2026-10-26)*
|
|
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.4.0`
|
|
8
|
+
|
|
9
|
+
### Version 5.3.3 *(2026-09-24)*
|
|
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.8.3.0`
|
|
13
|
+
|
|
4
14
|
### Version 5.3.2 *(2026-09-08)*
|
|
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.3.
|
|
5
|
+
<version>5.3.4</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>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<dependencies>
|
|
17
17
|
<dependency id="Chartboost.CSharp.Mediation.Unity" version="5.0.0" />
|
|
18
18
|
<dependency id="Chartboost.CSharp.Threading.Unity" version="1.0.1" />
|
|
19
|
-
<dependency id="Chartboost.CSharp.Utilities.Unity" version="
|
|
19
|
+
<dependency id="Chartboost.CSharp.Utilities.Unity" version="2.0.0" />
|
|
20
20
|
<dependency id="Chartboost.CSharp.Logging.Unity" version="1.0.0" />
|
|
21
21
|
</dependencies>
|
|
22
22
|
</metadata>
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
</androidPackages>
|
|
12
12
|
<iosPods>
|
|
13
13
|
<!-- iOS Adapter -->
|
|
14
|
-
<iosPod name="ChartboostMediationAdapterPangle" version="~> 5.8.
|
|
14
|
+
<iosPod name="ChartboostMediationAdapterPangle" version="~> 5.8.4.0"/>
|
|
15
15
|
|
|
16
16
|
<!-- Partner iOS SDK-->
|
|
17
|
-
<iosPod name="Ads-Global" version="~> 8.
|
|
17
|
+
<iosPod name="Ads-Global" version="~> 8.4.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.3.
|
|
15
|
+
"com.chartboost.mediation.unity.adapter.pangle": "5.3.4",
|
|
16
16
|
...
|
|
17
17
|
},
|
|
18
18
|
"scopedRegistries": [
|
|
@@ -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.3.
|
|
16
|
+
public const string AdapterUnityVersion = "5.3.4";
|
|
17
17
|
|
|
18
18
|
/// <inheritdoc cref="IPartnerAdapterConfiguration.AdapterNativeVersion"/>
|
|
19
19
|
public static string AdapterNativeVersion => Instance.AdapterNativeVersion;
|
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
using Chartboost.Editor;
|
|
2
|
-
using Chartboost.Logging;
|
|
3
2
|
using Chartboost.Mediation.Pangle;
|
|
4
3
|
using NUnit.Framework;
|
|
5
4
|
|
|
6
|
-
namespace Chartboost.Tests.Editor
|
|
5
|
+
namespace Chartboost.Mediation.Pangle.Tests.Editor
|
|
7
6
|
{
|
|
8
7
|
internal class VersionValidator
|
|
9
8
|
{
|
|
10
9
|
private const string UnityPackageManagerPackageName = "com.chartboost.mediation.unity.adapter.pangle";
|
|
11
10
|
private const string NuGetPackageName = "Chartboost.CSharp.Mediation.Unity.Adapter.Pangle";
|
|
12
11
|
|
|
13
|
-
[SetUp]
|
|
14
|
-
public void SetUp()
|
|
15
|
-
=> LogController.LoggingLevel = LogLevel.Debug;
|
|
16
|
-
|
|
17
12
|
[Test]
|
|
18
13
|
public void ValidateVersion()
|
|
19
14
|
=> VersionCheck.ValidateVersions(UnityPackageManagerPackageName, NuGetPackageName, PangleAdapter.AdapterUnityVersion);
|
|
@@ -1,65 +1,35 @@
|
|
|
1
|
-
using Chartboost.Logging;
|
|
2
1
|
using Chartboost.Mediation.Pangle;
|
|
3
2
|
using Chartboost.Mediation.Pangle.Common;
|
|
4
|
-
using Chartboost.
|
|
3
|
+
using Chartboost.Testing;
|
|
5
4
|
using NUnit.Framework;
|
|
6
5
|
|
|
7
6
|
namespace Chartboost.Tests
|
|
8
7
|
{
|
|
9
8
|
internal class PangleAdapterTests
|
|
10
9
|
{
|
|
11
|
-
|
|
12
|
-
public void SetUp()
|
|
13
|
-
=> LogController.LoggingLevel = LogLevel.Debug;
|
|
10
|
+
private const string Default = "PangleDefault";
|
|
14
11
|
|
|
15
12
|
[Test]
|
|
16
|
-
public void
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
[
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
[
|
|
28
|
-
public void
|
|
29
|
-
=>
|
|
30
|
-
|
|
31
|
-
[
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
=> PangleAdapter.SetGDPRConsentOverride(PangleGDPRConsentType.PangleGDPRConsentNoConsent);
|
|
38
|
-
|
|
39
|
-
[Test, Order(2)]
|
|
40
|
-
public void SetGDPRConsentDefault()
|
|
41
|
-
=> PangleAdapter.SetGDPRConsentOverride(PangleGDPRConsentType.PangleGDPRConsentTypeDefault);
|
|
42
|
-
|
|
43
|
-
[Test, Order(0)]
|
|
44
|
-
// ReSharper disable once InconsistentNaming
|
|
45
|
-
public void SetPAConsentOverrideConsent()
|
|
46
|
-
=> PangleAdapter.SetPAConsentOverride(PanglePAConsentType.PanglePAConsentTypeConsent);
|
|
47
|
-
|
|
48
|
-
[Test, Order(0)]
|
|
49
|
-
// ReSharper disable once InconsistentNaming
|
|
50
|
-
public void SetPAConsentOverrideNoConsent()
|
|
51
|
-
=> PangleAdapter.SetPAConsentOverride(PanglePAConsentType.PanglePAConsentTypeNoConsent);
|
|
52
|
-
|
|
53
|
-
[Test, Order(0)]
|
|
54
|
-
public void SetDoNotSellTypeSell()
|
|
55
|
-
=> PangleAdapter.SetDoNotSellOverride(PangleDoNotSellType.PangleGDoNotSellTypeSell);
|
|
56
|
-
|
|
57
|
-
[Test, Order(1)]
|
|
58
|
-
public void SetDoNotSellTypeNotSell()
|
|
59
|
-
=> PangleAdapter.SetDoNotSellOverride(PangleDoNotSellType.PangleDoNotSellTypeNotSell);
|
|
60
|
-
|
|
61
|
-
[Test, Order(2)]
|
|
62
|
-
public void SetDoNotSellTypeDefault()
|
|
63
|
-
=> PangleAdapter.SetDoNotSellOverride(PangleDoNotSellType.PangleDoNotSellTypeDefault);
|
|
13
|
+
public void Identity() => AdapterContract.AssertIdentity("pangle", "Pangle", PangleAdapter.AdapterUnityVersion,
|
|
14
|
+
PangleAdapter.PartnerIdentifier, PangleAdapter.PartnerDisplayName, PangleAdapter.AdapterNativeVersion, PangleAdapter.PartnerSDKVersion);
|
|
15
|
+
|
|
16
|
+
[TestCase(PanglePAConsentType.PanglePAConsentTypeConsent)]
|
|
17
|
+
[TestCase(PanglePAConsentType.PanglePAConsentTypeNoConsent)]
|
|
18
|
+
public void SetPAConsentOverrideLogsOnTheDefault(PanglePAConsentType consent)
|
|
19
|
+
=> AdapterContract.AssertDefaultSetterLogs(nameof(PangleAdapter.SetPAConsentOverride), Default, () => PangleAdapter.SetPAConsentOverride(consent));
|
|
20
|
+
|
|
21
|
+
#pragma warning disable CS0618 // The obsolete setters still have to work until they're removed.
|
|
22
|
+
[TestCase(PangleGDPRConsentType.PangleGDPRConsentConsent)]
|
|
23
|
+
[TestCase(PangleGDPRConsentType.PangleGDPRConsentNoConsent)]
|
|
24
|
+
[TestCase(PangleGDPRConsentType.PangleGDPRConsentTypeDefault)]
|
|
25
|
+
public void SetGDPRConsentOverrideLogsOnTheDefault(PangleGDPRConsentType consent)
|
|
26
|
+
=> AdapterContract.AssertDefaultSetterLogs(nameof(PangleAdapter.SetGDPRConsentOverride), Default, () => PangleAdapter.SetGDPRConsentOverride(consent));
|
|
27
|
+
|
|
28
|
+
[TestCase(PangleDoNotSellType.PangleGDoNotSellTypeSell)]
|
|
29
|
+
[TestCase(PangleDoNotSellType.PangleDoNotSellTypeNotSell)]
|
|
30
|
+
[TestCase(PangleDoNotSellType.PangleDoNotSellTypeDefault)]
|
|
31
|
+
public void SetDoNotSellOverrideLogsOnTheDefault(PangleDoNotSellType doNotSell)
|
|
32
|
+
=> AdapterContract.AssertDefaultSetterLogs(nameof(PangleAdapter.SetDoNotSellOverride), Default, () => PangleAdapter.SetDoNotSellOverride(doNotSell));
|
|
33
|
+
#pragma warning restore CS0618
|
|
64
34
|
}
|
|
65
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.chartboost.mediation.unity.adapter.pangle",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"displayName": "Chartboost Mediation Adapter - Pangle",
|
|
6
6
|
"description": "The Chartboost Mediation Unity SDK Adapter for Pangle.",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"com.chartboost.mediation": "5.0.0",
|
|
13
13
|
"com.chartboost.unity.threading": "1.0.1",
|
|
14
|
-
"com.chartboost.unity.utilities": "
|
|
14
|
+
"com.chartboost.unity.utilities": "2.0.0",
|
|
15
15
|
"com.chartboost.unity.logging": "1.0.0"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|