com.chartboost.mediation.unity.adapter.unity-ads 5.0.12 → 5.0.14
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.UnityAds.nuspec +1 -1
- package/Editor/UnityAdsAdapterDependencies.xml +2 -2
- package/README.md +1 -1
- package/Runtime/Unity Ads/Default/UnityAdsDefault.cs +1 -1
- package/Runtime/Unity Ads/UnityAdsAdapter.cs +1 -1
- package/Tests/Editor/VersionValidator.cs +0 -5
- package/Tests/Runtime/UnityAdsAdapterTests.cs +19 -21
- package/package.json +1 -1
- /package/Tests/Runtime/{Chartboost.Mediation.Pangle.Tests.Runtime.asmdef → Chartboost.Mediation.UnityAds.Tests.Runtime.asmdef} +0 -0
- /package/Tests/Runtime/{Chartboost.Mediation.Pangle.Tests.Runtime.asmdef.meta → Chartboost.Mediation.UnityAds.Tests.Runtime.asmdef.meta} +0 -0
package/.checksum
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8d9f6c4f00dc951f9ed8440744bbf4b6
|
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.0.14 *(2026-10-02)*
|
|
5
|
+
This version of the Unity Ads Adapter supports the following native SDK dependencies:
|
|
6
|
+
* Android: `com.chartboost:chartboost-mediation-adapter-unity-ads:5.4.20.+`
|
|
7
|
+
* iOS: `ChartboostMediationAdapterUnityAds: ~> 5.4.21.0`
|
|
8
|
+
|
|
9
|
+
### Version 5.0.13 *(2026-08-17)*
|
|
10
|
+
This version of the Unity Ads Adapter supports the following native SDK dependencies:
|
|
11
|
+
* Android: `com.chartboost:chartboost-mediation-adapter-unity-ads:5.4.20.+`
|
|
12
|
+
* iOS: `ChartboostMediationAdapterUnityAds: ~> 5.4.20.0`
|
|
13
|
+
|
|
4
14
|
### Version 5.0.12 *(2026-08-16)*
|
|
5
15
|
This version of the Unity Ads Adapter supports the following native SDK dependencies:
|
|
6
16
|
* Android: `com.chartboost:chartboost-mediation-adapter-unity-ads:5.4.20.+`
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<package>
|
|
3
3
|
<metadata>
|
|
4
4
|
<id>Chartboost.CSharp.Mediation.Unity.Adapter.UnityAds</id>
|
|
5
|
-
<version>5.0.
|
|
5
|
+
<version>5.0.14</version>
|
|
6
6
|
<title>Chartboost Mediation Adapter - Unity Ads</title>
|
|
7
7
|
<description>The Chartboost Mediation Unity SDK Adapter for Unity Ads.</description>
|
|
8
8
|
<authors>Chartboost</authors>
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
</androidPackages>
|
|
7
7
|
<iosPods>
|
|
8
8
|
<!-- iOS Adapter -->
|
|
9
|
-
<iosPod name="ChartboostMediationAdapterUnityAds" version="~> 5.4.
|
|
9
|
+
<iosPod name="ChartboostMediationAdapterUnityAds" version="~> 5.4.21.0"/>
|
|
10
10
|
|
|
11
11
|
<!-- Partner iOS SDK-->
|
|
12
|
-
<iosPod name="UnityAds" version="~> 4.
|
|
12
|
+
<iosPod name="UnityAds" version="~> 4.21.0" addToAllTargets="false"/>
|
|
13
13
|
</iosPods>
|
|
14
14
|
</dependencies>
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ In order to add the Chartboost Mediation Unity SDK - UnityAds Adapter to your pr
|
|
|
12
12
|
|
|
13
13
|
```json
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"com.chartboost.mediation.unity.adapter.unity-ads": "5.0.
|
|
15
|
+
"com.chartboost.mediation.unity.adapter.unity-ads": "5.0.14",
|
|
16
16
|
...
|
|
17
17
|
},
|
|
18
18
|
"scopedRegistries": [
|
|
@@ -26,6 +26,6 @@ namespace Chartboost.Mediation.UnityAds.Default
|
|
|
26
26
|
|
|
27
27
|
/// <inheritdoc/>
|
|
28
28
|
public void SetPrivacyConsentOverride(bool consentStatus)
|
|
29
|
-
=> LogController.Log($"{nameof(
|
|
29
|
+
=> LogController.Log($"{nameof(SetPrivacyConsentOverride)} does nothing on {nameof(UnityAdsDefault)}", LogLevel.Info);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -12,7 +12,7 @@ namespace Chartboost.Mediation.UnityAds
|
|
|
12
12
|
/// <summary>
|
|
13
13
|
/// The partner adapter Unity version.
|
|
14
14
|
/// </summary>
|
|
15
|
-
public const string AdapterUnityVersion = "5.0.
|
|
15
|
+
public const string AdapterUnityVersion = "5.0.14";
|
|
16
16
|
|
|
17
17
|
/// <inheritdoc cref="IPartnerAdapterConfiguration.AdapterNativeVersion"/>
|
|
18
18
|
public static string AdapterNativeVersion => Instance.AdapterNativeVersion;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
using Chartboost.Editor;
|
|
2
|
-
using Chartboost.Logging;
|
|
3
2
|
using Chartboost.Mediation.UnityAds;
|
|
4
3
|
using NUnit.Framework;
|
|
5
4
|
|
|
@@ -10,10 +9,6 @@ namespace Chartboost.Tests.Editor
|
|
|
10
9
|
private const string UnityPackageManagerPackageName = "com.chartboost.mediation.unity.adapter.unity-ads";
|
|
11
10
|
private const string NuGetPackageName = "Chartboost.CSharp.Mediation.Unity.Adapter.UnityAds";
|
|
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, UnityAdsAdapter.AdapterUnityVersion);
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
using Chartboost.Logging;
|
|
2
1
|
using Chartboost.Mediation.UnityAds;
|
|
3
2
|
using Chartboost.Tests.Runtime;
|
|
4
3
|
using NUnit.Framework;
|
|
4
|
+
using UnityEngine;
|
|
5
|
+
using UnityEngine.TestTools;
|
|
5
6
|
|
|
6
7
|
namespace Chartboost.Tests
|
|
7
8
|
{
|
|
8
|
-
internal class UnityAdsAdapterTests
|
|
9
|
+
internal class UnityAdsAdapterTests : DebugLogLevelFixture
|
|
9
10
|
{
|
|
10
|
-
[SetUp]
|
|
11
|
-
public void SetUp()
|
|
12
|
-
=> LogController.LoggingLevel = LogLevel.Debug;
|
|
13
|
-
|
|
14
11
|
[Test]
|
|
15
12
|
public void AdapterNativeVersion()
|
|
16
13
|
=> TestUtilities.TestStringGetter(() => UnityAdsAdapter.AdapterNativeVersion);
|
|
@@ -31,20 +28,21 @@ namespace Chartboost.Tests
|
|
|
31
28
|
public void TestMode()
|
|
32
29
|
=> TestUtilities.TestBooleanAccessor(() => UnityAdsAdapter.TestMode, value => UnityAdsAdapter.TestMode = value);
|
|
33
30
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
31
|
+
// The Editor uses UnityAdsDefault, which only logs; HB-12134 logged the wrong method name.
|
|
32
|
+
[TestCase(true), TestCase(false)]
|
|
33
|
+
public void SetGDPRConsentOverrideLogsItsName(bool value)
|
|
34
|
+
{
|
|
35
|
+
if (!Application.isEditor) Assert.Ignore("The Default implementation only runs in the Editor.");
|
|
36
|
+
LogAssert.Expect(LogType.Log, "SetGDPRConsentOverride does nothing on UnityAdsDefault");
|
|
37
|
+
UnityAdsAdapter.SetGDPRConsentOverride(value);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[TestCase(true), TestCase(false)]
|
|
41
|
+
public void SetPrivacyConsentOverrideLogsItsName(bool value)
|
|
42
|
+
{
|
|
43
|
+
if (!Application.isEditor) Assert.Ignore("The Default implementation only runs in the Editor.");
|
|
44
|
+
LogAssert.Expect(LogType.Log, "SetPrivacyConsentOverride does nothing on UnityAdsDefault");
|
|
45
|
+
UnityAdsAdapter.SetPrivacyConsentOverride(value);
|
|
46
|
+
}
|
|
49
47
|
}
|
|
50
48
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.chartboost.mediation.unity.adapter.unity-ads",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"displayName": "Chartboost Mediation Adapter - Unity Ads",
|
|
6
6
|
"description": "The Chartboost Mediation Unity SDK Adapter for Unity Ads.",
|
|
File without changes
|