ads_kit 0.1.0
ads_kit: ^0.1.0 copied to clipboard
Mediation-platform-independent ad abstraction: AdProvider contract, AdManager, frequency capping, health monitoring and remote-config-driven provider selection.
Changelog #
0.1.0 #
Initial release.
AdProvidercontract andAdManagerentry point — register providers,boot,switchProvider, zero dependencies on any ad network SDK.- Remote-config-driven provider selection via Firebase Remote Config (
ads_configJSON), with fallback chain ending inNoopAdProvider(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.HealthMonitorwith 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
providerExtrasand remote config, with_android/_iosplatform 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.