flutter_ads_manager 0.0.5
flutter_ads_manager: ^0.0.5 copied to clipboard
Drop-in AdMob ads for Flutter: banner, interstitial, rewarded, rewarded interstitial and app open ads with auto-reload, retry, and built-in GDPR consent.
0.0.5 #
- Add
BannerAdVariant.compactAdaptive— full device-width banner using Google's compact "current orientation anchored" adaptive size (~50-90dp tall), as opposed to the existingadaptivevariant which uses the taller "Large" anchored adaptive size (~90-100dp tall). UsecompactAdaptivefor an edge-to-edge footer banner that shouldn't take up much vertical space; useadaptivewhen you want the larger, more prominent size.
0.0.4 #
- Shorten the
pubspec.yamldescription to fit pub.dev's 60–180 character limit (was too long to be indexed properly by search engines).
0.0.3 #
- Add
AdsManager.instance.keywords— a settableList<String>sent with every ad request (banner, interstitial, rewarded, rewarded interstitial, app open) for better ad targeting. Set it viainit(keywords: ...)or reassign it any time content changes.
0.0.2 #
- Fix:
show()onInterstitialAdController,RewardedAdController,RewardedInterstitialAdControllerandAppOpenAdControllernow resolves only after the ad has actually been dismissed (or failed to show), instead of right after the platform call to launch it was issued. Previously,await controller.show(...)could return while the ad was still on screen, so code that inspected state set insideonUserEarnedReward(or that expected the app to have "come back" from the ad) right after theawaitwould see stale results.
0.0.1 #
Initial release.
AdsManagersingleton: oneinit()call wires up the Google Mobile Ads SDK, GDPR/UMP consent, and optional preloading.- Banner ads via
AdBannerWidget: standard, adaptive, large banner, and medium rectangle variants. InterstitialAdController,RewardedAdController,RewardedInterstitialAdController,AppOpenAdController— self-reloading, with capped retry/backoff on failed loads.CountedInterstitialControllerfor "show an interstitial every Nth event" patterns.ConsentManagerwrapping Google's UMP SDK, including the privacy-options entry point.TestAdUnitIds— Google's official test ad unit IDs, used automatically in debug builds.