Skip to content

Commit c4f6ef8

Browse files
committed
Updating AppLovin Flutter mediation plugin to support the latest adapters (13.5.1.0, 13.5.0.0)
PiperOrigin-RevId: 866604351
1 parent c51057d commit c4f6ef8

File tree

12 files changed

+31
-28
lines changed

12 files changed

+31
-28
lines changed

packages/mediation/gma_mediation_applovin/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## AppLovin Flutter Mediation Adapter Changelog
22

3+
#### Version 2.5.2 (In progress)
4+
- Updated minimum Flutter version to 3.35.1
5+
- Updated to support Google Mobile Ads Flutter Plugin version 7.0.0
6+
37
#### Version 2.5.1
48
- Supports [AppLovin Android adapter version 13.5.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/applovin/CHANGELOG.md#version-13510).
59
- Supports [AppLovin iOS adapter version 13.5.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/AppLovin/CHANGELOG.md#version-13500).

packages/mediation/gma_mediation_applovin/android/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
group 'io.flutter.plugins.googlemobileads.mediation.gma_mediation_applovin'
2-
version = "2.5.1"
2+
version = "2.5.2"
33

44
buildscript {
5-
ext.kotlin_version = '2.0.21'
5+
ext.kotlin_version = '2.2.21'
66
repositories {
77
google()
88
mavenCentral()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:8.0.2'
12+
classpath 'com.android.tools.build:gradle:8.13.1'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
}
1515
}
@@ -33,7 +33,7 @@ android {
3333
namespace 'io.flutter.plugins.googlemobileads.mediation.gma_mediation_applovin'
3434
}
3535

36-
compileSdkVersion 34
36+
compileSdkVersion 36
3737

3838
compileOptions {
3939
sourceCompatibility JavaVersion.VERSION_11
@@ -50,13 +50,13 @@ android {
5050
}
5151

5252
defaultConfig {
53-
minSdkVersion 23
53+
minSdkVersion 24
5454
}
5555

5656
dependencies {
57-
implementation 'com.applovin:applovin-sdk:13.1.0'
57+
implementation 'com.applovin:applovin-sdk:13.5.1'
5858
implementation "com.google.ads.mediation:applovin:$stringVersion"
59-
implementation 'com.google.android.gms:play-services-ads:23.6.0'
59+
implementation 'com.google.android.gms:play-services-ads:24.9.0'
6060
implementation 'androidx.core:core-ktx:1.8.0'
6161
testImplementation 'junit:junit:4.13.2'
6262
testImplementation 'androidx.test:core:1.5.0'

packages/mediation/gma_mediation_applovin/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

packages/mediation/gma_mediation_applovin/example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ android {
4545
applicationId "io.flutter.plugins.googlemobileads.mediation.gma_mediation_applovin_example"
4646
// You can update the following values to match your application needs.
4747
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
48-
minSdkVersion 23
48+
minSdkVersion 24
4949
targetSdkVersion flutter.targetSdkVersion
5050
versionCode flutterVersionCode.toInteger()
5151
versionName flutterVersionName

packages/mediation/gma_mediation_applovin/example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '2.0.21'
2+
ext.kotlin_version = '2.2.21'
33
repositories {
44
google()
55
mavenCentral()

packages/mediation/gma_mediation_applovin/example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip

packages/mediation/gma_mediation_applovin/example/android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ pluginManagement {
2323

2424
plugins {
2525
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
26-
id "com.android.application" version "8.7.0" apply false
27-
id 'org.jetbrains.kotlin.android' version '2.0.21' apply false
26+
id "com.android.application" version "8.13.1" apply false
27+
id 'org.jetbrains.kotlin.android' version '2.2.21' apply false
2828
}
2929

3030
include ":app"

packages/mediation/gma_mediation_applovin/example/ios/Podfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '12.0'
1+
platform :ios, '13.0'
32

43
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
54
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

packages/mediation/gma_mediation_applovin/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
361361
GCC_WARN_UNUSED_FUNCTION = YES;
362362
GCC_WARN_UNUSED_VARIABLE = YES;
363-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
363+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
364364
MTL_ENABLE_DEBUG_INFO = NO;
365365
SDKROOT = iphoneos;
366366
SUPPORTED_PLATFORMS = iphoneos;
@@ -484,7 +484,7 @@
484484
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
485485
GCC_WARN_UNUSED_FUNCTION = YES;
486486
GCC_WARN_UNUSED_VARIABLE = YES;
487-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
487+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
488488
MTL_ENABLE_DEBUG_INFO = YES;
489489
ONLY_ACTIVE_ARCH = YES;
490490
SDKROOT = iphoneos;
@@ -533,7 +533,7 @@
533533
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
534534
GCC_WARN_UNUSED_FUNCTION = YES;
535535
GCC_WARN_UNUSED_VARIABLE = YES;
536-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
536+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
537537
MTL_ENABLE_DEBUG_INFO = NO;
538538
SDKROOT = iphoneos;
539539
SUPPORTED_PLATFORMS = iphoneos;

packages/mediation/gma_mediation_applovin/example/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Demonstrates how to use the gma_mediation_applovin plugin."
55
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
66

77
environment:
8-
sdk: '>=3.6.0 <4.0.0'
8+
sdk: '>=3.9.0 <4.0.0'
99

1010
# Dependencies specify other packages that your package needs in order to work.
1111
# To automatically upgrade your package dependencies to the latest versions
@@ -17,7 +17,7 @@ dependencies:
1717
flutter:
1818
sdk: flutter
1919

20-
google_mobile_ads: ^6.0.0
20+
google_mobile_ads: ^7.0.0
2121
gma_mediation_applovin:
2222
# When depending on this package from a real application you should use:
2323
# gma_mediation_applovin: ^x.y.z
@@ -41,7 +41,7 @@ dev_dependencies:
4141
# activated in the `analysis_options.yaml` file located at the root of your
4242
# package. See that file for information about deactivating specific lint
4343
# rules and activating additional ones.
44-
flutter_lints: ^2.0.0
44+
flutter_lints: ^6.0.0
4545

4646
# For information on the generic Dart part of this file, see the
4747
# following page: https://dart.dev/tools/pub/pubspec

0 commit comments

Comments
 (0)