From 8eada3dd6c99d20a56db60c390123b18744cb58b Mon Sep 17 00:00:00 2001 From: Helium Service <103450738+helium-service@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:17:56 -0400 Subject: [PATCH] 5.13.0.0.0 (#90) * 5.13.0.0.0 * COPPA is no longer supported --------- Co-authored-by: Ray Graham --- AppLovinAdapter/build.gradle.kts | 4 ++-- .../mediation/applovinadapter/AppLovinAdapter.kt | 11 ++--------- CHANGELOG.md | 3 +++ README.md | 2 +- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/AppLovinAdapter/build.gradle.kts b/AppLovinAdapter/build.gradle.kts index bc1e037..b094c24 100644 --- a/AppLovinAdapter/build.gradle.kts +++ b/AppLovinAdapter/build.gradle.kts @@ -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.12.6.1.0" + android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "5.13.0.0.0" buildConfigField("String", "CHARTBOOST_MEDIATION_APPLOVIN_ADAPTER_VERSION", "\"${android.defaultConfig.versionName}\"") consumerProguardFiles("proguard-rules.pro") @@ -91,7 +91,7 @@ dependencies { "candidateImplementation"("com.chartboost:chartboost-mediation-sdk:5.0.0") // Partner SDK - implementation("com.applovin:applovin-sdk:12.6.1") + implementation("com.applovin:applovin-sdk:13.0.0") // Partner SDK Dependencies implementation("androidx.appcompat:appcompat:1.5.1") 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 40643be..df659f5 100644 --- a/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt +++ b/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt @@ -142,6 +142,7 @@ class AppLovinAdapter : PartnerAdapter { /** * Notify AppLovin if the user is underage. + * Note: COPPA is no longer supported in the AppLovin SDK 13.0.0 * * @param context The current [Context]. * @param isUserUnderage True if the user is underage, false otherwise. @@ -150,15 +151,7 @@ class AppLovinAdapter : PartnerAdapter { context: Context, isUserUnderage: Boolean, ) { - PartnerLogController.log( - if (isUserUnderage) { - USER_IS_UNDERAGE - } else { - USER_IS_NOT_UNDERAGE - }, - ) - - AppLovinPrivacySettings.setIsAgeRestrictedUser(isUserUnderage, context) + PartnerLogController.log(CUSTOM, "COPPA is not supported with AppLovin") } /** diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e702a1..5e0c9d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ Adapters are compatible with any Chartboost Mediation SDK version within that ma All official releases can be found on this repository's [releases page](https://github.com/ChartBoost/chartboost-mediation-android-adapter-applovin/releases). +### 5.13.0.0.0 +- This version of the adapter has been certified with AppLovin SDK 13.0.0. + ### 5.12.6.1.0 - This version of the adapter has been certified with AppLovin SDK 12.6.1. diff --git a/README.md b/README.md index a8ff4b9..eafa04d 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:5.12.6.1.0" + implementation "com.chartboost:chartboost-mediation-adapter-applovin:5.13.0.0.0" ``` ## Contributions