Releases: googleads/googleads-mobile-flutter
Releases · googleads/googleads-mobile-flutter
v2.4.0
2.4.0
- Adds support for native templates, which are predefined layouts for native ads.
NativeAdhas a new optional parameter,nativeTemplateStyleof typeNativeTemplateStyle.
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
v2.2.0
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: #673 - Adds the field
responseExtrastoResponseInfo. SeeResponseInfodocs: - Fixes a crash introduced in 2.1.0, issue #675
v2.1.0
2.1.0
- Updates GMA dependencies to 21.2.0 (Android) and 9.10.0 (iOS):
- Adds
loadedAdapterResponseInfotoResponseInfoand the following fields to
AdapterResponseInfo:- adSourceID
- adSourceInstanceId
- adSourceInstanceName
- adSourceName
- Fixes close button issue on iOS
v2.0.1
v2.0.0: Update case of ssv variables to match objc style guidelines. (#609)
- Updates GMA Android dependency to 21.0.0 and iOS to 9.6.0
- Removes
credentialsfromAdapterResponseInfo, which is replaced withadUnitMapping. - Removes
serverSideVerificationOptionsfromRewardedAd.load()andRewardedInterstitialAd.load(), replacing them with setters
RewardedAd.setServerSideVerificationOptions()andRewardedInterstitialAd.setServerSideVerificationOptions(). This lets you
update the ssv after the ad is loaded. - Removes static
testAdUnitIdparameters. See the Admob and
AdManager documentation for up to date test ad units. - Removes
NativeAdListener.onNativeAdClicked. You should useonAdClickedinstead, which present on all ad listeners. - Removes
AdRequest.location
v1.3.0
- Adds support for programmatically opening the debug options menu using
MobileAds.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
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.credentialsin favor ofadUnitMapping - Deprecates
LocationParamsinAdRequestandAdManagerAdRequest.
v1.1.0
- Adds support for Rewarded Interstitial (beta) ad format.
- Adds support for
onAdClickedevents to all ad formats.NativeAdListener.onNativeAdClickedis now deprecated.FullScreenContentCallbackandAdWithViewListenersnow have anonAdClickedevent.
v1.0.0
-
Mediation is now supported in beta.
- There are new APIs to support passing network extras to mediation adapters:
- MediationNetworkExtrasProvider on Android and FLTMediationNetworkExtrasProvider on iOS.
- See the mediation example app README for more details on how to use these APIs.
- There are new APIs to support passing network extras to mediation adapters:
-
Fix for Android 12 issue #330.
- This will break compilation on android if you do not already set
compileSdkVersionto31, or override the WorkManager dependency to < 2.7.0:dependencies { implementation('androidx.work:work-runtime') { version { strictly '2.6.0' } } }
- This will break compilation on android if you do not already set
-
Fixes issue #404.
- Adds a new dart class,
AppStateEventNotifier. You should subscribe toAppStateEventNotifier.appStateStream
instead of usingWidgetsBindingObserverto 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 dart class,
-
Adds a new parameter
extrastoAdRequestandAdManagerAdRequest. -
The development guides in the README have been migrated to the AdMob and Ad Manager dev sites.