Release Notes
[1.2.0]
Built on native TeadsSDK 6.2.2 on iOS and 6.2.3 on Android.
Feed and Banner now follow the native SDKs much more closely, in events, URL params,
privacy and click handling. Where the two native SDKs disagree, each platform follows its
own. Several changes may need action in your app: Feed's default bottom padding, Feed and
Banner no longer reserving space before the ad loads, the renamed Feed event values,
userId precedence, FeedPlacementBuilder, the Feed scrolling its own fullscreen card
into place, and an Android page-wide touch-coordinate override.
Feed layout
- Feed adds no space under its content by default. Earlier versions reserved 50
logical pixels below the content, which showed as a gap under widgets that serve a
single card. Neither native SDK adds any, so the default is now
0. If your layout relied on the 50, passcontentBottomPadding: 50.FeedPlacement.bottomPaddingis deprecated. - Feed takes no space until the page reports its content. It used to reserve 300 px
while loading. On iOS it takes no space until the ad fills and its height is known, and
stays at 0 if the page reports no fill first. On Android it takes each height the page
reports, before the fill too, as native Android does. A no-fill before the fill
collapses it to 0 on both, and a no-fill after the fill keeps the height. The loading
spinner is gone.
FeedPlacement.initialHeightis deprecated. A layout that relied on the 300 px placeholder will shift. maxHeightcaps the whole Feed slot, meaning the WebView pluscontentBottomPadding. With the default padding of 0 nothing changes. With a padding, the padding stays visible and the WebView gives up that room.- Feed re-measures after a rotation or window resize.
Feed events (onEvent)
- Height changes. Feed emits
heightUpdatedwithheight, the slot height in your layout: the page's height pluscontentBottomPadding, capped atmaxHeight. On Android it fires for every height the page reports, repeats included, andheightis a whole number unless the padding or cap is fractional. On iOS it fires only when the height changes. Readheightasnum. It is not emitted while a card is fullscreen. - Clicks. Feed emits
clickedfor a sponsored recommendation or a display ad andclickedOrganicfor an organic recommendation, each withurl.clickedis emitted when the plugin asks to open the URL, not when the browser finishes loading. Repeated clicks within one second count as one. On AndroidclickedOrganicfires whether or notonOrganicClickis set. On iOS it fires, andonOrganicClickis called, only after the click's tracking report succeeds. See Placement Events. viewedreplacesviewability. The page's viewability event now arrives asTeadsAdEvent.viewed, as on both native SDKs.TeadsAdEvent.viewabilityis deprecated. It still fires right aftervieweduntil it is removed.- Fill. On iOS the page's fill now arrives as
loaded(it wasready). On Android it staysready, withisFillEvent: truein its data, andreadyfires twice per ad, as on native Android. - No-fill.
failednow carriesreason: 'notFilled'(it was'no-fill') plus the page's own fields, anderrorCode: 3on iOS. On Android a pageerrorevent now also arrives asfailed. - Nothing before fill, little after no-fill. Lifecycle events and
heightUpdatedare no longer emitted before the ad's fill or no-fill, and the latest height is delivered right after the fill. After a no-fill only clicks are emitted. onUnsupportedis quieter. Unrecognised page events, page error messages and the Google ads card messages no longer reach it. They are logged at debug level instead, as both native SDKs drop them.
Feed clicks and fullscreen
- Links tapped in an ad open outside the feed. http links and app deep links (App
Store,
tel:, custom schemes) inside a display ad now open in the browser or their app and emitclicked, instead of loading inside the feed. Non-web click URLs open in their app instead of failing. On Android,intent://links open only if an app claims the scheme. - On iOS the page is told about display-ad clicks and Google ads cards, as native iOS tells it.
- Fullscreen cards. On Android, back while a card is fullscreen closes the card instead
of leaving the screen. Leaving fullscreen scrolls the enclosing list the way native does.
On Android, fullscreen sets a transparent status bar and a black navigation bar and
restores them afterwards. A bar your app's style gives no colour is left alone, so leaving fullscreen no longer
leaves the navigation bar black in apps whose
AppBarsets none. The black navigation bar also gets light icons when your style sets an icon brightness to restore. On Android, viewability keeps reporting the feed's pre-fullscreen size and position while a card is fullscreen, as native does. On iOS, viewability and load-more pause while a card is fullscreen, and the fullscreen card is sized to the whole screen as native sends it, so hide your own app bar ononFullScreenChangeor the bottom of the card is cut off. - The Feed scrolls its fullscreen card to the top itself, in every host. On entering
fullscreen it moves every enclosing scrollable so the card's top meets the viewport's,
and repeats once a frame while the layout settles, for up to 10 frames. This replaces any
scrolling your
onFullScreenChangedoes, so a header you keep visible above the card is scrolled away; fold your chrome in the callback instead, and drop any jump tomaxScrollExtent. In a lazy list (ListView.builder, aNestedScrollViewbody) such a jump used to leave the card partly off screen with black below it. On exit the Feed restores only the nearest enclosing scrollable, so in aNestedScrollViewthe outer offset keeps what the entry gave it. - A pinned
SliverAppBarneeds three toggles while fullscreen. Setprimary: false,toolbarHeight: 0andtitle: nullwhile fullscreen, and back again after. A primary app bar keeps the status bar's height even at a zero toolbar height, and the card cannot scroll past it, butprimary: falseall the time puts your content under the status bar. Keep the bar in the tree: removing it re-parents the Feed's WebView, which stops it painting. - On Android, swiping between fullscreen cards keeps its direction. A swipe up
sometimes went back to the previous card, or left fullscreen, on cards further down the
feed. The fix changes what the page sees: from the first fullscreen on,
Touch.screenXandscreenYreturnclientXandclientYfor every script on the page, creatives and carousels included, and keep doing so after fullscreen ends. Those values are measured from the WebView's own viewport, not from the screen. - The server's horizontal-swipe setting is honoured, so carousels in the feed can scroll sideways.
- A Feed that fails to start collapses and logs the error type, instead of showing an error message to users.
- A dark mode change made while the Feed loads is applied once the page is up.
- iOS long-press link previews are off, as native sets them. Android's WebView now honours the page's viewport, which disables pinch-zoom as on native.
Feed requests, privacy and tracking
userIdfollows each native's rule. On iOS nouserIdis sent until App Tracking Transparency is authorized. After that a non-emptyFeedPlacementConfig.userIdwins over the IDFA. On Android the device advertising id wins unless ad tracking is limited, anduserIdis the fallback. The advertising id is read as the native Feed reads it, with no Huawei OAID fallback, and separately from the consent strings, so a slow read costs that request itsuserIdand never its consent strings.- Android
pubImpIddefaults to the widget ID, as native Android sends it. iOS still sends none. SetpubImpIdto send the same value on both. - On Android, the IAB TCF v1 consent string is sent whenever it is stored, even when no CMP is marked present, as native Android does.
- On iOS,
TeadsSdk.setTestMode(true)makes the Feed request test events, as native iOS does. - Device params match native.
networkis nownone,wifi,2g,3g,4gorunknown, plus5gon iOS (it wascellularorethernet). The Feed no longer sends a made-upcountry=US. On Android a value the device cannot give, such ascarrierwith no SIM, goes out empty, as native Android sends it; iOS omits params it cannot fill. Androiddeviceincludes the manufacturer, and tablets are detected as native does. iOSvhandvware the whole screen, and iOSappNameis the bundle name. Android sizes,densityand the user agent are formatted as native formats them. Params go out in each native's order. - On Android,
floorPriceis sent for any value, 0 included, as native Android does. iOS still sends only positive values. - The organic click report goes through the platform's HTTP stack, so it honours the device's HTTP proxy.
- New
FeedPlacementController.reportPageViewOnTheSameWidget(), to count a new page view on a Feed the user came back to, as native iOS offers. It does nothing on Android, which has no equivalent. See Feed.
Banner
BannerPlacementtakes no space until the ad fills and collapses to 0 on a no-fill or timeout, as native does.BannerPlacement.initialHeightis deprecated and no longer used. A layout that relied on the 100 px placeholder will shift.- New
BannerPlacementConfigfields.extId,extSecondaryId,obPubImpandfloorPriceare passed to the native Banner on both platforms. BannerPlacementConfig.testDisplayworks on iOS only. The native Android Banner ignores it, and the published Android SDK offers no other way to set it.- On iOS the Banner re-measures itself on rotation; forwarding
viewWillTransitionis no longer needed. - Banner and Media event data keep nested values, such as the page data on a fill, instead of only top-level strings and numbers.
Config and test doubles
- New
FeedPlacementConfigfields.extId,extSecondaryId,floorPrice(anint) andtestDisplay, which forces a test creative as native does.copyWithaccepts them. See Settings. FeedPlacementBuilderhas a new parameter. A custom builder passed toFeedPlacementBuilder(the test seam) must now acceptcontentBottomPadding.FeedPlacement.newandMockFeedPlacement.newalready do.MockFeedPlacementfollows the real widget. It is 0 tall until a simulated fill, emitsclickedOrganicfromfireOrganicClick, drops event names the real widget drops instead of callingonUnsupported, and emitsviewedthenviewabilityfor the page's viewability event. Widget tests that checked its 300 px size or anonUnsupportedcall need updating. NewMockFeedPlacementControllerfor the new controller.
Fixed
- The Feed counted its bottom padding twice. The WebView took the padding into its own height as well as getting it below, so the page reported a larger height each time. On iOS this grew the Feed well past its content. The WebView now takes exactly the reported height, and the padding sits only below it.
- A throwing
onEvent,onFullScreenChangeoronUnsupportedno longer drops the rest of a Feed bridge message. Previously it could leave everywidgetIndexother than0Feed on the page blank. The error is reported throughFlutterError.onError. A throwingonEventon the ad's fill no longer leaves an iOS Feed at 0. - The organic-click fallback opens an in-app browser view. The documentation said "external browser". The behaviour is unchanged since 1.0.0.
[1.1.0]
Built on native TeadsSDK 6.2.2 on iOS and 6.2.3 on Android.
New
- iOS: Swift Package Manager support. The plugin is now also a Swift package,
resolving
TeadsSDKfromhttps://github.com/teads/TeadsSDK-iOS. Apps without Teads AdMob mediation keep working on either install path. Upgrading with AdMob mediation: an app that haspod 'TeadsAdMobAdapter'fails to build on Flutter 3.44+ with Multiple commands produce …/TeadsSDK.framework, because the pod embedsTeadsSDKa second time. Either move to theTeadsAdMobAdapterproduct of the Swift package and callTeadsAdMobMediation.register()(see AdMob mediation), or turn Swift Package Manager off withflutter config --no-enable-swift-package-manager.
Changed
- Android: the Teads Maven repository no longer needs adding. The plugin now
registers it for your build. Apps that declare repositories centrally in
settings.gradle(dependencyResolutionManagement) still add it there, since Gradle ignores plugin-contributed repositories in that mode. - Android: the plugin now builds with AGP 8.12.1 (was 8.11.1), the version the upgraded dependencies below declare. Apps are not required to upgrade: an app on AGP 8.11.1 was verified to still build.
- Dependencies:
battery_plus7,connectivity_plus7,device_info_plus13,package_info_plus10. - Android: no AdMob application ID is needed unless your app uses AdMob. The native SDK stopped depending on Google Mobile Ads in 6.2.2, so the manifest entry earlier docs asked for is no longer required (this was already true of 1.0.0).
[1.0.0] — Initial production release
Built on native TeadsSDK 6.2.2 on iOS and 6.2.3 on Android. Requires iOS 15.0+
and Android minSdk 24.
Placements
- Feed (SmartFeed) — pure Dart bridge integration, automatic pagination, fullscreen video, dark mode, organic click callback, and multi-widget coordination
- Media (InRead) — inline video and display, self-sizing with ratio updates
- Banner — self-sizing, with runtime dark-mode toggling via
BannerController - Interstitial —
load/isReady/show/dispose, with optional floor price - Recommendations — data-only fetch, tap-time click registration, the AdChoices URL
(
Recommendations.adChoicesUrl), a test mode for paid items (Recommendations.setTestRtb), and Dart-side viewability reporting for publisher-rendered lists - AdMob Mediation — reference mediation integration and demo implementations for Banner, Interstitial, and Media
SDK
TeadsSdk.configureandTeadsSdk.setTestModeTeadsPrivacyconsent overrides (TCF v1/v2, US Privacy, GPP,gdprApplies) and the iOS App Tracking Transparency prompt,TeadsPrivacy.requestTrackingAuthorization()- iOS privacy manifest (
PrivacyInfo.xcprivacy) shipped with the plugin TeadsLog— log levels and pluggable sink- Injectable interfaces for entry points, with test doubles in
package:teads_flutter/teads_flutter_mocks.dart
Not implemented
- Media Native placement
See the format guides for the supported API and the Troubleshooting Guide for known limitations.