Skip to content

Releases: googleads/googleads-mobile-flutter

v1.2.0

04 Apr 05:10
22b8326
Compare
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
Compare
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
Compare
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.

v0.13.6

03 Nov 21:42
ec5f343
Compare
Choose a tag to compare
  • Partial fix for #265.
    • The partial fix allows you to load ads from a cached flutter engine in the add to app scenario,
      but it only works the first time the engine is attached to an activity.
    • Support for reusing the engine in another activity after the first one is destroyed is blocked
      by this Flutter issue which affects all platform views: flutter/flutter#88880.
  • Adds support for getRequestConfiguration API
  • Adds support for Fluid Ad Size (Ad Manager only)
    • Fluid ads dynamically adjust their height based on their width. To help display them we've added a new
      ad container, FluidAdManagerBannerAd, and a new widget FluidAdWidget.
    • You can see the fluid_example.dart for a reference of how to load and display a fluid ad.
    • Android API reference
    • iOS API reference
  • Adds AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize() to support getting an AnchoredAdaptiveBannerAdSize in the current orientation.
    • Previously the user had to specify an orientation (portrait / landscape) to create an AnchoredAdaptiveBannerAdSize. It has been made optional with this version. SDK will determine the current orientation of the device and return an appropriate AdSize.
    • More information on anchored adaptive banners can be found here:
  • Adds support for inline adaptive banner ads.
    • Inline adaptive banner ads are meant to be used in scrollable content. They are of variable height and can be as tall as the device screen.
      They differ from Fluid ads in that they only resize once when the ad is loaded.
      You can see the inline_adaptive_example.dart for a reference of how to load and display
      inline adaptive banners.
    • More information on inline adaptive banners can be found here:
  • Fix for #369
    • Fixes setting the app volume in android (doesn't affect iOS).
  • Adds support for setting location in AdRequest and AdManagerAdRequest.
    • Both AdRequest and AdManagerAdRequest have a new param, location.
    • Location data is not used to target Google Ads, but may be used by 3rd party ad networks.
    • See other packages for getting the location. For example, https://pub.dev/packages/location.
  • Adds publisherProvidedId to AdManagerAdRequest to support publisher provided ids.

v0.13.5

27 Sep 21:22
c8a53f7
Compare
Choose a tag to compare
  • Adds support for app open.
    • Implementation guidance can be found here.
    • As a reference please also see the example app.
    • Best practices can be found here.

v0.13.4

27 Sep 21:20
052dcdf
Compare
Choose a tag to compare

v0.13.3

04 Aug 19:55
ba9222c
Compare
Choose a tag to compare
  • Adds NativeAdOptions to NativeAd, which allows further customization of native ads. See also the native Android and iOS documentation.

v0.13.2+1

29 Jul 22:47
fcbbd31
Compare
Choose a tag to compare
  • Contains a bug fix for #130

v0.13.2

30 Jun 06:47
d27df6b
Compare
Choose a tag to compare

v0.13.1

23 Jun 18:17
baf19aa
Compare
Choose a tag to compare
  • Adds support for the paid event callback. This is currently only supported for allowlisted accounts.