admob_mediation_flutter 0.2.0
admob_mediation_flutter: ^0.2.0 copied to clipboard
An unofficial Flutter service layer for AdMob mediation with UMP consent, preloading, retry backoff, frequency caps, ad widgets, and revenue events.
0.2.0 #
- Add named placement maps for every format, with Android/iOS IDs per placement. Existing default IDs and method calls remain supported.
- Add
placementto banner/native widgets and full-screen load/show methods. - Load named full-screen placements on demand with independent caches/retries,
shared format cooldowns, readiness via
isAdReady, andstopPreloading. Automatic foreground app-open ads continue to use the default app-open unit. - Include placement and requested ad-unit ID in lifecycle/revenue events.
- Apply test-ID substitution to direct widget ID overrides as well as placements.
- Snapshot placement configuration at initialization and reject unknown names instead of silently loading an unrelated default unit.
- Fix concurrent full-screen loads and discard callbacks from invalidated loads.
- Release old widget ads on placement changes without retaining disposed ads, and hide native placeholders when ads are disabled or unconfigured.
- Add regression coverage for ten simultaneous banner placements, platform ID resolution, placement switching, cache isolation, and stale load callbacks.
0.1.2 #
- Fix
NativeAdCardlosing its loaded (or in-flight) ad whenever it scrolled out of a lazy list's cache extent — the widget's state was destroyed and rebuilt from scratch on every return, so a native ad placed inside a feed or grid rarely survived long enough to actually be seen. It now keeps itself alive like any other stateful list item.
0.1.1 #
- Fix expiry timer not cancelled when
show()takes the cached ad, preventing a redundant load after the timer fires. - Fix double-dispose in
AdaptiveBannerAdandNativeAdCardwhen the widget is removed while a load is in-flight. - Rewrite README: remove stale adapter version table, add AdMob dashboard consent setup guide (GDPR and US-state), add initialization flow overview, and expand event and test-device documentation.
0.1.0 #
- Add app open, adaptive banner, interstitial, native, rewarded, and rewarded interstitial support.
- Add UMP consent sequencing and an explicit mediation consent provider.
- Add full-screen preloading, retry backoff, TTL expiry, frequency caps, and safe show coordination.
- Add a runtime master switch that disposes cached ads when disabled.
- Add lifecycle, reward, and impression-level revenue events.
- Add request customization and current Google Mobile Ads age treatment.
- Add a runnable Android/iOS example using Google's official test IDs.
- Add unit tests and continuous integration checks.