From 695c59d4613659a3a2ab474abce60c01961eea90 Mon Sep 17 00:00:00 2001 From: jjliu15 <58007281+jjliu15@users.noreply.github.com> Date: Thu, 27 Oct 2022 13:09:00 -0700 Subject: [PATCH] Bump version to 2.2.0 and update changelog. (#680) * Bump version to 2.2.0 and update changelog. --- packages/google_mobile_ads/CHANGELOG.md | 8 ++++++++ .../io/flutter/plugins/googlemobileads/Constants.java | 2 +- packages/google_mobile_ads/ios/Classes/FLTConstants.h | 2 +- packages/google_mobile_ads/pubspec.yaml | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/google_mobile_ads/CHANGELOG.md b/packages/google_mobile_ads/CHANGELOG.md index b438a9ff8..2afbf213a 100644 --- a/packages/google_mobile_ads/CHANGELOG.md +++ b/packages/google_mobile_ads/CHANGELOG.md @@ -1,3 +1,11 @@ +## 2.2.0 +* Updates GMA iOS dependency to 9.11.0. This fixes dependency issues in apps that + also depend on the latest version of Firebase: https://github.com/googleads/googleads-mobile-flutter/issues/673 +* Adds the field `responseExtras` to `ResponseInfo`. See `ResponseInfo` docs: + * https://developers.google.com/admob/flutter/response-info + * https://developers.google.com/ad-manager/mobile-ads-sdk/flutter/response-info +* Fixes a crash introduced in 2.1.0, [issue #675](https://github.com/googleads/googleads-mobile-flutter/issues/675) + ## 2.1.0 * Updates GMA dependencies to 21.2.0 (Android) and 9.10.0 (iOS): * Adds `loadedAdapterResponseInfo` to `ResponseInfo` and the following fields to diff --git a/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/Constants.java b/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/Constants.java index b36136fb0..c69e72f55 100644 --- a/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/Constants.java +++ b/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/Constants.java @@ -17,7 +17,7 @@ /** Constants used in the plugin. */ public class Constants { /** Version request agent. Should be bumped alongside plugin versions. */ - public static final String REQUEST_AGENT_PREFIX_VERSIONED = "Flutter-GMA-2.1.0"; + public static final String REQUEST_AGENT_PREFIX_VERSIONED = "Flutter-GMA-2.2.0"; static final String ERROR_CODE_UNEXPECTED_AD_TYPE = "unexpected_ad_type"; } diff --git a/packages/google_mobile_ads/ios/Classes/FLTConstants.h b/packages/google_mobile_ads/ios/Classes/FLTConstants.h index ccf4097ad..05c3cd040 100644 --- a/packages/google_mobile_ads/ios/Classes/FLTConstants.h +++ b/packages/google_mobile_ads/ios/Classes/FLTConstants.h @@ -13,4 +13,4 @@ // limitations under the License. /** Versioned request agent string. */ -#define FLT_REQUEST_AGENT_VERSIONED @"Flutter-GMA-2.1.0" +#define FLT_REQUEST_AGENT_VERSIONED @"Flutter-GMA-2.2.0" diff --git a/packages/google_mobile_ads/pubspec.yaml b/packages/google_mobile_ads/pubspec.yaml index 90a334789..383d829ee 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: 2.1.0 +version: 2.2.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