Skip to content

Commit 2ddc80a

Browse files
committed
Updating MyTarget Flutter mediation plugin to support the latest adapters (5.27.4.0, 5.38.0.0)
PiperOrigin-RevId: 866599159
1 parent 2ae4f2d commit 2ddc80a

File tree

9 files changed

+26
-22
lines changed

9 files changed

+26
-22
lines changed

packages/mediation/gma_mediation_mytarget/CHANGELOG.md

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

3+
#### Version 1.7.1 (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 1.7.0
48
* Supports [myTarget Android adapter version 5.27.4.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/mytarget/CHANGELOG.md#version-52740).
59
* Supports [myTarget iOS adapter version 5.38.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/MyTarget/CHANGELOG.md#version-53800).

packages/mediation/gma_mediation_mytarget/android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
group = "io.flutter.plugins.googlemobileads.mediation.gma_mediation_mytarget"
2-
version = "1.7.0"
2+
version = "1.7.1"
33

44
buildscript {
5-
ext.kotlin_version = "1.8.22"
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.7.0")
12+
classpath("com.android.tools.build:gradle:8.13.1")
1313
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
1414
}
1515
}
@@ -31,7 +31,7 @@ ext {
3131
android {
3232
namespace = "io.flutter.plugins.googlemobileads.mediation.gma_mediation_mytarget"
3333

34-
compileSdk = 35
34+
compileSdk = 36
3535

3636
compileOptions {
3737
sourceCompatibility = JavaVersion.VERSION_11
@@ -54,7 +54,7 @@ android {
5454
dependencies {
5555
implementation("com.google.ads.mediation:mytarget:$stringVersion")
5656
testImplementation("org.jetbrains.kotlin:kotlin-test")
57-
testImplementation("org.mockito:mockito-core:5.0.0")
57+
testImplementation("org.mockito:mockito-core:5.5.0")
5858
}
5959

6060
testOptions {

packages/mediation/gma_mediation_mytarget/example/android/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ android {
2323
applicationId = "io.flutter.plugins.googlemobileads.mediation.gma_mediation_mytarget_example"
2424
// You can update the following values to match your application needs.
2525
// For more information, see: https://flutter.dev/to/review-gradle-config.
26-
minSdk = 23
26+
minSdk = 24
2727
targetSdk = flutter.targetSdkVersion
2828
versionCode = flutter.versionCode
2929
versionName = flutter.versionName

packages/mediation/gma_mediation_mytarget/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_mytarget/example/android/settings.gradle.kts

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

1919
plugins {
2020
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
21-
id("com.android.application") version "8.7.0" apply false
22-
id("org.jetbrains.kotlin.android") version "1.8.22" apply false
21+
id("com.android.application") version "8.13.1" apply false
22+
id("org.jetbrains.kotlin.android") version "2.2.21" apply false
2323
}
2424

2525
include(":app")

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@
346346
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
347347
GCC_WARN_UNUSED_FUNCTION = YES;
348348
GCC_WARN_UNUSED_VARIABLE = YES;
349-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
349+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
350350
MTL_ENABLE_DEBUG_INFO = NO;
351351
SDKROOT = iphoneos;
352352
SUPPORTED_PLATFORMS = iphoneos;
@@ -472,7 +472,7 @@
472472
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
473473
GCC_WARN_UNUSED_FUNCTION = YES;
474474
GCC_WARN_UNUSED_VARIABLE = YES;
475-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
475+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
476476
MTL_ENABLE_DEBUG_INFO = YES;
477477
ONLY_ACTIVE_ARCH = YES;
478478
SDKROOT = iphoneos;
@@ -523,7 +523,7 @@
523523
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
524524
GCC_WARN_UNUSED_FUNCTION = YES;
525525
GCC_WARN_UNUSED_VARIABLE = YES;
526-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
526+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
527527
MTL_ENABLE_DEBUG_INFO = NO;
528528
SDKROOT = iphoneos;
529529
SUPPORTED_PLATFORMS = iphoneos;

packages/mediation/gma_mediation_mytarget/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_mytarget plugin."
55
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
66

77
environment:
8-
sdk: ^3.7.0
8+
sdk: ^3.9.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_mytarget:
2222
# When depending on this package from a real application you should use:
2323
# gma_mediation_mytarget: ^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: ^5.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

packages/mediation/gma_mediation_mytarget/ios/gma_mediation_mytarget.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'gma_mediation_mytarget'
3-
s.version = '1.7.0'
3+
s.version = '1.7.1'
44
s.summary = 'Google Mobile Ads Mediation of mytarget.'
55
s.description = <<-DESC
66
Mediation Adapter for mytarget to use with Google Mobile Ads.
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
s.source_files = 'Classes/**/*'
1313
s.dependency 'Flutter'
1414
s.dependency 'GoogleMobileAdsMediationMyTarget', '~>5.38.0.0'
15-
s.platform = :ios, '12.4'
15+
s.platform = :ios, '13.0'
1616
s.static_framework = true
1717

1818
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

packages/mediation/gma_mediation_mytarget/pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: gma_mediation_mytarget
22
description: 'Mediation Adapter that enables sending ad requests to the mytarget
33
ad network using the google_mobile_ads plugin.'
4-
version: 1.7.0
4+
version: 1.7.1
55
environment:
6-
sdk: ^3.6.0
7-
flutter: '>=3.27.0'
6+
sdk: ^3.9.0
7+
flutter: '>=3.35.1'
88
dependencies:
99
flutter:
1010
sdk: flutter
11-
google_mobile_ads: ^6.0.0
11+
google_mobile_ads: ^7.0.0
1212
plugin_platform_interface: ^2.0.2
1313
dev_dependencies:
1414
flutter_test:
1515
sdk: flutter
16-
flutter_lints: ^5.0.0
16+
flutter_lints: ^6.0.0
1717
lint: ^2.6.1
1818
pigeon: ^24.2.1
1919
flutter:

0 commit comments

Comments
 (0)