Skip to content

Commit

Permalink
5.4.12.2.0 (#76)
Browse files Browse the repository at this point in the history
* 5.4.12.2.0

* Removed the extra `readinessTracker` due to a previous bad merge

---------

Co-authored-by: Ray Graham <rayg@bitwisedesign.com>
  • Loading branch information
helium-service and bwised authored Aug 30, 2024
1 parent 1bf6257 commit e8279a4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
Note the first digit of every adapter version corresponds to the major version of the Chartboost Mediation SDK compatible with that adapter.
Adapters are compatible with any Chartboost Mediation SDK version within that major version.

### 5.4.12.2.0
- This version of the adapter has been certified with Unity Ads SDK 4.12.2.

### 5.4.12.1.0
- This version of the adapter supports Chartboost Mediation SDK version 5.+.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The Chartboost Mediation Unity Ads adapter mediates Unity Ads via the Chartboost

In your `build.gradle`, add the following entry:
```
implementation "com.chartboost:chartboost-mediation-adapter-unity-ads:5.4.12.0.0"
implementation "com.chartboost:chartboost-mediation-adapter-unity-ads:5.4.12.2.0"
```

## Contributions
Expand Down
4 changes: 2 additions & 2 deletions UnityAdsAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ android {
minSdk = 21
targetSdk = 34
// If you touch the following line, don't forget to update scripts/get_rc_version.zsh
android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "5.4.12.1.0"
android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "5.4.12.2.0"
buildConfigField("String", "CHARTBOOST_MEDIATION_UNITY_ADS_ADAPTER_VERSION", "\"${android.defaultConfig.versionName}\"")

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand Down Expand Up @@ -89,7 +89,7 @@ dependencies {
"candidateImplementation"("com.chartboost:chartboost-mediation-sdk:5.0.0")

// Partner SDK
implementation("com.unity3d.ads:unity-ads:4.12.1")
implementation("com.unity3d.ads:unity-ads:4.12.2")

// Adapter Dependencies
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,6 @@ class UnityAdsAdapter : PartnerAdapter {
*/
private val listeners = mutableMapOf<String, PartnerAdListener>()

/**
* Unity Ads does not have a "ready" check, so we need to manually keep track of it, keyed by the Unity placement ID.
*/
private var readinessTracker = mutableMapOf<String, Boolean>()

/**
* Initialize the Unity Ads SDK so that it is ready to request ads.
*
Expand Down

0 comments on commit e8279a4

Please sign in to comment.