Skip to main content

unified_ads_platform_interface 1.1.0 copy "unified_ads_platform_interface: ^1.1.0" to clipboard
unified_ads_platform_interface: ^1.1.0 copied to clipboard

Common platform interface for unified_ads: the AdNetworkAdapter contract, shared ad models, and the adapter registry.

1.1.0 #

  • New AdPacing model and AdConfig.pacing (cooldown, show every N actions, initial delay per full-screen format).
  • New AdErrorCode.adsBlocked, returned while ads are switched off with UnifiedAds.setAdFree. Migration note: an exhaustive switch over AdErrorCode needs a new case.
  • BREAKING (iOS, ecosystem): released together with the other unified_ads packages, which are now Swift Package Manager only on iOS (CocoaPods support removed). This package has no native code. See the migration guide.
  • New AdConfig.showTimeout (default 15 s): how long a full-screen show() may wait for the SDK to report "shown" or "failed to show". Additive, non-breaking.
  • README: package-specific guide for adapter authors, including the full AdNetworkAdapter contract.

1.0.0 #

Initial release.

  • AdNetworkAdapter contract and AdapterRegistry. Adapters register themselves from their dartPluginClass.
  • BridgedAdNetworkAdapter: a base class for Pigeon/method-channel adapters. It never throws, maps PlatformException → AdError, tracks loaded ads, and translates native events.
  • BridgedAdNetworkAdapter.logMetaBidding: a protected helper the mediation adapters use to report the opt-in Meta bidding adapter.
  • Shared models: AdNetwork, AdFormat, AdConfig, NetworkConfig, PlatformValue, AdError / AdErrorCode, AdResult, the sealed AdEvent hierarchy, BannerSize, BannerRequest, RewardItem, FrequencyCap, PreloadPolicy, TestModeSupport.
  • ConsentState / ConsentProvider, TrackingStatus / TrackingAuthorization.
  • AdsLogger with levels and pluggable sinks, silent by default.
  • UnsupportedAdNetworkAdapter for documented stubs.
1
likes
160
points
499
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Common platform interface for unified_ads: the AdNetworkAdapter contract, shared ad models, and the adapter registry.

Repository (GitHub)
View/report issues
Contributing

Topics

#ads #monetization #advertising

License

MIT (license)

Dependencies

flutter

More

Packages that depend on unified_ads_platform_interface