Skip to content

Commit 2ae4f2d

Browse files
committed
Updating iMobile Flutter mediation plugin to support the latest adapters (2.3.2.1, 2.3.4.3)
PiperOrigin-RevId: 866561991
1 parent 79afa00 commit 2ae4f2d

File tree

8 files changed

+25
-21
lines changed

8 files changed

+25
-21
lines changed

packages/mediation/gma_mediation_imobile/CHANGELOG.md

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

3+
#### Version 1.0.3 (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.0.2
48
* Supports [i-mobile Android adapter version 2.3.2.1](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/imobile/CHANGELOG.md#version-2321).
59
* Supports [i-mobile iOS adapter version 2.3.4.3](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/I-Mobile/CHANGELOG.md#version-2343).

packages/mediation/gma_mediation_imobile/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_imobile"
2-
version = "1.0.2"
2+
version = "1.0.3"
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_imobile"
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:imobile:$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_imobile/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_imobile/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_imobile/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_imobile/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_imobile 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_imobile:
2222
# When depending on this package from a real application you should use:
2323
# gma_mediation_imobile: ^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_imobile/ios/gma_mediation_imobile.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_imobile'
3-
s.version = '1.0.2'
3+
s.version = '1.0.3'
44
s.summary = 'Google Mobile Ads Mediation of imobile.'
55
s.description = <<-DESC
66
Mediation Adapter for imobile 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 'GoogleMobileAdsMediationIMobile', '~> 2.3.4.3'
15-
s.platform = :ios, '12.0'
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_imobile/pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: gma_mediation_imobile
22
description: 'Mediation Adapter that enables sending ad requests to the imobile
33
ad network using the google_mobile_ads plugin.'
4-
version: 1.0.2
4+
version: 1.0.3
55
environment:
6-
sdk: '>=3.6.0 <4.0.0'
7-
flutter: '>=3.27.0'
6+
sdk: '>=3.9.0 <4.0.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
flutter:
1919
plugin:

0 commit comments

Comments
 (0)