diff --git a/AppLovinAdapter/build.gradle.kts b/AppLovinAdapter/build.gradle.kts index 642b89c..65d46b8 100644 --- a/AppLovinAdapter/build.gradle.kts +++ b/AppLovinAdapter/build.gradle.kts @@ -35,7 +35,7 @@ android { minSdk = 21 targetSdk = 33 // If you touch the following line, don't forget to update scripts/get_rc_version.zsh - android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "4.12.5.0.0" + android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "4.12.6.0.0" buildConfigField("String", "CHARTBOOST_MEDIATION_APPLOVIN_ADAPTER_VERSION", "\"${android.defaultConfig.versionName}\"") @@ -73,7 +73,7 @@ dependencies { "remoteImplementation"("com.chartboost:chartboost-mediation-sdk:4.0.0") // Partner SDK - implementation("com.applovin:applovin-sdk:12.5.0") + implementation("com.applovin:applovin-sdk:12.6.0") // Partner SDK Dependencies diff --git a/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt b/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt index 26a6070..31d80d1 100644 --- a/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt +++ b/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt @@ -23,6 +23,7 @@ import kotlinx.coroutines.withContext import kotlinx.serialization.json.Json import kotlinx.serialization.json.JsonObject import kotlinx.serialization.json.decodeFromJsonElement +import java.lang.Deprecated import kotlin.coroutines.resume /** @@ -86,11 +87,12 @@ class AppLovinAdapter : PartnerAdapter { /** * Enable/disable AppLovin's location sharing. + * This property no longer does anything. `AppLovinSdkSettings.isLocationCollectionEnabled` + * no longer exists starting in SDK version `12.6.0`. + * @deprecated */ + @Deprecated fun setLocationSharing(enabled: Boolean) { - updateSdkSetting("location sharing", enabled) { - settings.isLocationCollectionEnabled = enabled - } } /** diff --git a/CHANGELOG.md b/CHANGELOG.md index ca73162..a1ddb4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ 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. +### 4.12.6.0.0 +- This version of the adapter has been certified with AppLovin SDK 12.6.0. +- Deprecated `AppLovinAdapter.setLocationSharing`. + ### 4.12.5.0.0 - This version of the adapter has been certified with AppLovin SDK 12.5.0. diff --git a/README.md b/README.md index 11b431c..60fb2be 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The Chartboost Mediation AppLovin adapter mediates AppLovin via the Chartboost M In your `build.gradle`, add the following entry: ``` - implementation "com.chartboost:chartboost-mediation-adapter-applovin:4.12.5.0.0" + implementation "com.chartboost:chartboost-mediation-adapter-applovin:4.12.6.0.0" ```