Skip to content

Releases: googleads/googleads-mobile-flutter

v2.4.0

03 May 23:27
ea6ba4d

Choose a tag to compare

2.4.0

  • Adds support for native templates, which are predefined layouts for native ads.
    • NativeAd has a new optional parameter, nativeTemplateStyle of type NativeTemplateStyle.
      If provided, the plugin will inflate and style a platform native ad view for you, instead of
      requiring you to write and register a NativeAdFactory (android) or FLTNativeAdFactory (iOS).
    • See https://developers.google.com/admob/flutter/native/templates for an integration guide
  • Adds a new flag, AdWidget.optOutOfVisibilityDetectorWorkaround. Setting this to true
    lets you opt out of the fix added for #580, which was resolved in Flutter 3.7.0.

v2.3.0

15 Mar 22:09
eb87042

Choose a tag to compare

2.3.0

  • Updates GMA iOS dependency to 9.13
  • Updates GMA Android dependency to 21.3.0
  • Updates request agent string based on metadata in AndroidManifest.xml or Info.plist

v2.2.0

15 Mar 22:07
37fc60d

Choose a tag to compare

2.2.0

v2.1.0

28 Oct 16:47
7e00b0d

Choose a tag to compare

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
    AdapterResponseInfo:
    • adSourceID
    • adSourceInstanceId
    • adSourceInstanceName
    • adSourceName
  • Fixes close button issue on iOS

v2.0.1

15 Aug 04:30
219a3cc

Choose a tag to compare

  • Bug fix for issue 580. Adds a workaround on Android to wait for the ad widget to become visible before attaching the platform view.

v2.0.0: Update case of ssv variables to match objc style guidelines. (#609)

03 Aug 20:17
a10c615

Choose a tag to compare

  • Updates GMA Android dependency to 21.0.0 and iOS to 9.6.0
  • Removes credentials from AdapterResponseInfo, which is replaced with adUnitMapping.
  • Removes serverSideVerificationOptions from RewardedAd.load() and RewardedInterstitialAd.load(), replacing them with setters
    RewardedAd.setServerSideVerificationOptions() and RewardedInterstitialAd.setServerSideVerificationOptions(). This lets you
    update the ssv after the ad is loaded.
  • Removes static testAdUnitId parameters. See the Admob and
    AdManager documentation for up to date test ad units.
  • Removes NativeAdListener.onNativeAdClicked. You should use onAdClicked instead, which present on all ad listeners.
  • Removes AdRequest.location

v1.3.0

03 Aug 20:15
06664bc

Choose a tag to compare

  • Adds support for programmatically opening the debug options menu usingMobileAds.openDebugMenu(String adUnitId)
  • Adds support for Ad inspector APIs. See the AdMob and Ad Manager sites for integration guides.
  • Adds support for User Messaging Platform. See the AdMob and Ad Manager sites for integration guides.

v1.2.0

04 Apr 05:10
22b8326

Choose a tag to compare

1.2.0

  • Set new minimum height for FluidAdWidget.
    This is required after Flutter v2.11.0-0.1.pre because Android platform views
    that have no size don't load.
  • Update GMA Android dependency to 20.6.0 and iOS to 8.13.0.
  • Deprecate AdapterResponseInfo.credentials in favor of adUnitMapping
  • Deprecates LocationParams in AdRequest and AdManagerAdRequest.

v1.1.0

10 Feb 21:22
5bd973c

Choose a tag to compare

  • Adds support for Rewarded Interstitial (beta) ad format.
    • See Admob and AdManager devsites for guides on how to add RewardedInterstitial
  • Adds support for onAdClicked events to all ad formats. NativeAdListener.onNativeAdClicked is now deprecated.
    • FullScreenContentCallback and AdWithViewListeners now have an onAdClicked event.

v1.0.0

17 Nov 23:31
9a4227e

Choose a tag to compare

  • Mediation is now supported in beta.

  • Fix for Android 12 issue #330.

    • This will break compilation on android if you do not already set compileSdkVersion to 31, or override the WorkManager dependency to < 2.7.0:
      dependencies {
          implementation('androidx.work:work-runtime') {
              version {
                  strictly '2.6.0'
              }
          }
      }
      
  • Fixes issue #404.

    • Adds a new dart class, AppStateEventNotifier. You should subscribe to AppStateEventNotifier.appStateStream
      instead of using WidgetsBindingObserver to listen to app foreground/background events.
    • See the app open example app for a reference
      on how to use the new API.
  • Adds a new parameter extras to AdRequest and AdManagerAdRequest.

    • This can be used to pass additional signals to the AdMob adapter, such as CCPA signals.
    • For example, to notify Google that RDP
      should be enabled when constructing an ad request:
        AdRequest request = AdRequest(extras: {'rdp': '1'});
        
  • The development guides in the README have been migrated to the AdMob and Ad Manager dev sites.