From 2f1cf9e45953187d12d41507762ea03158b77d00 Mon Sep 17 00:00:00 2001 From: Aldo Becerril Date: Tue, 5 Dec 2023 11:16:09 -0800 Subject: [PATCH] Plugin release 4.0.0 (#972) * Updated version to 4.0.0. * Updated iOS GMA SDK version to 10.11.0 * Updated Android GMA SDK version to 22.5 * Updated CHANGELOG --- packages/google_mobile_ads/CHANGELOG.md | 5 +++++ packages/google_mobile_ads/android/build.gradle | 2 +- packages/google_mobile_ads/example/android/build.gradle | 2 +- packages/google_mobile_ads/ios/google_mobile_ads.podspec | 2 +- packages/google_mobile_ads/pubspec.yaml | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/google_mobile_ads/CHANGELOG.md b/packages/google_mobile_ads/CHANGELOG.md index a6a8861c9..295d13144 100644 --- a/packages/google_mobile_ads/CHANGELOG.md +++ b/packages/google_mobile_ads/CHANGELOG.md @@ -2,6 +2,11 @@ * The minimum supported Flutter version is now 3.7.0. * Removes `visibility_detector` as a dependency, and the workaround added in https://github.com/googleads/googleads-mobile-flutter/pull/610. +* Adds null checks for Ad Ids for Android in + https://github.com/googleads/googleads-mobile-flutter/pull/967 +* Updated Android dependencies in https://github.com/googleads/googleads-mobile-flutter/pull/843 +* Updates GMA iOS dependency to 10.11.0 +* Updates GMA Android dependency to 22.5.0 ## 3.1.0 * Updates GMA iOS dependency to 10.9.0 diff --git a/packages/google_mobile_ads/android/build.gradle b/packages/google_mobile_ads/android/build.gradle index 6e80321e4..f5559e479 100644 --- a/packages/google_mobile_ads/android/build.gradle +++ b/packages/google_mobile_ads/android/build.gradle @@ -35,7 +35,7 @@ android { disable 'InvalidPackage' } dependencies { - api 'com.google.android.gms:play-services-ads:22.4.0' + api 'com.google.android.gms:play-services-ads:22.5.0' implementation 'com.google.android.ump:user-messaging-platform:2.1.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.lifecycle:lifecycle-process:2.6.2' diff --git a/packages/google_mobile_ads/example/android/build.gradle b/packages/google_mobile_ads/example/android/build.gradle index 67f5524b5..c293bd821 100644 --- a/packages/google_mobile_ads/example/android/build.gradle +++ b/packages/google_mobile_ads/example/android/build.gradle @@ -24,6 +24,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir } diff --git a/packages/google_mobile_ads/ios/google_mobile_ads.podspec b/packages/google_mobile_ads/ios/google_mobile_ads.podspec index 3a13fa702..ee72a7a6b 100644 --- a/packages/google_mobile_ads/ios/google_mobile_ads.podspec +++ b/packages/google_mobile_ads/ios/google_mobile_ads.podspec @@ -15,7 +15,7 @@ Google Mobile Ads plugin for Flutter. s.source_files = 'Classes/**/*.{h,m}' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.dependency 'Google-Mobile-Ads-SDK','~> 10.9.0' + s.dependency 'Google-Mobile-Ads-SDK','~> 10.11.0' s.dependency 'webview_flutter_wkwebview' s.ios.deployment_target = '10.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS' => 'armv7 arm64 x86_64' } diff --git a/packages/google_mobile_ads/pubspec.yaml b/packages/google_mobile_ads/pubspec.yaml index b29345d03..7e80db6ec 100644 --- a/packages/google_mobile_ads/pubspec.yaml +++ b/packages/google_mobile_ads/pubspec.yaml @@ -13,7 +13,7 @@ # limitations under the License. name: google_mobile_ads -version: 3.1.0 +version: 4.0.0 description: Flutter plugin for Google Mobile Ads, supporting banner, interstitial (full-screen), rewarded and native ads repository: https://github.com/googleads/googleads-mobile-flutter/tree/main/packages/google_mobile_ads