Skip to content

Commit

Permalink
Merge branch 'main' into rg/update-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bwised authored Sep 18, 2024
2 parents 58befea + 8eada3d commit baab9f1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions AppLovinAdapter/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.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")
Expand Down Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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")
}

/**
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

### 4.13.0.0.0
- This version of the adapter has been certified with AppLovin SDK 13.0.0.

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 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
Expand Down

0 comments on commit baab9f1

Please sign in to comment.