Skip to main content

ads_kit 0.1.1 copy "ads_kit: ^0.1.1" to clipboard
ads_kit: ^0.1.1 copied to clipboard

Mediation-platform-independent ad abstraction: AdProvider contract, AdManager, frequency capping, health monitoring and remote-config-driven provider selection.

Changelog #

0.1.1 #

  • Fix: a zero or negative health_failure_threshold in remote config now falls back to the default of 3 instead of throwing in AdManager.boot() (debug) or tripping on every failure (release).
  • Fix: repeated failures on an unhealthy provider start at most one health fallback at a time, instead of initializing (and leaking) a fallback provider per failure.
  • Fix: a provider switch made while a recovery attempt is initializing now wins; the recovery result is disposed instead of overriding it.
  • Add example/example.dart.

0.1.0 #

Initial release.

  • AdProvider contract and AdManager entry point — register providers, boot, switchProvider, zero dependencies on any ad network SDK.
  • Remote-config-driven provider selection via Firebase Remote Config (ads_config JSON), with fallback chain ending in NoopAdProvider (no config means no ads, never the wrong ads).
  • FrequencyGuard: interstitial min interval, per-session cap, cold-start grace; startNewSession() to reset caps on the app's own session boundary.
  • HealthMonitor with automatic fallback on repeated failures (no-fill excluded) and cooldown recovery back to the primary provider without an app restart.
  • Per-provider extras merged from boot-time providerExtras and remote config, with _android/_ios platform key resolution.
  • updateConsent() to reapply consent mid-session; provider init timeout; preload of enabled fullscreen formats on activation; fullscreen shows complete at dismiss with a display timeout.
0
likes
160
points
162
downloads

Documentation

API reference

Publisher

verified publishererenium.tech

Weekly Downloads

Mediation-platform-independent ad abstraction: AdProvider contract, AdManager, frequency capping, health monitoring and remote-config-driven provider selection.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

firebase_remote_config, flutter, meta

More

Packages that depend on ads_kit