flutter_ads_plus 1.1.0
flutter_ads_plus: ^1.1.0 copied to clipboard
AdMob wrapper with PreloadV2 buffering, per-controller event streams, app-open-resume reactor, and ready-to-use widgets for banner, native, interstitial, rewarded, app open ads.
1.1.0 #
Breaking changes #
- Bump
google_mobile_adsto^8.0.0(was^7.0.0). Hosts must use AndroidcompileSdk 36+ JDK 17 and iOS deployment target15.0+. - Bump
internet_connection_checker_plusto^3.0.0(was^2.9.1+2). - Bump min Dart SDK to
3.10.0and min Flutter SDK to3.38.1. - Banner anchored adaptive size now uses
getLargeAnchoredAdaptiveBannerAdSize(the only non-deprecated variant in GMA 8.x). Banners render taller than 1.0.0.
Other #
- Plugin Android
compileSdk34 → 36, JDK 1.8 → 17,play-services-ads24.6.0 → 25.1.0. - Shortened
pubspec.yamldescription to satisfy pub.dev 180-char limit.
1.0.0 #
First public release of flutter_ads_plus — a wrapper for
google_mobile_ads with native PreloadV2 buffering, per-controller
event streams, a built-in app-open-resume reactor, and ready-to-use
widgets for all 5 AdMob ad formats.
Features #
- 5 ad formats with matching widget + controller:
- Banner (
BannerAdController,MyBannerAd/MyBannerAd.control) - Native (
NativeAdController,MyNativeAd/MyNativeAd.control, plusMyNativeAd2for impression-triggered swap-in) - Interstitial (
InterstitialAdController,MyInterstitialAd,MyAds.showInterstitialAd) - Rewarded (
RewardedAdController,MyRewardedAd,MyAds.showRewardAd) - App Open (
AppOpenAdController,MyAppOpenAd,MyAds.showAppOpenAd)
- Banner (
- Native PreloadV2 integration for interstitial + app-open:
MyAds.preloadInterstitialAd(adId:, bufferSize:)MyAds.preloadAppOpenAd(adId:, bufferSize:)MyAds.showInterstitialAd/showAppOpenAd/showSplashAdautomatically prefer the native buffer when available.
- App-open-resume via
AppLifecycleReactor:MyAds.initAppOpenAd(...)enables auto-show on foreground.setIsExcludeScreenfor one-shot exclusions.setSingleUseAdIdfor one-shot ad-id overrides.- Optional native-format overlay via
nativeFullAdId+enableNativeFullResume.
- Two consumption patterns per format:
- Preload via controller (instant show when reached).
- Inline (load + show on demand with overlay loading state).
- Full-screen loading overlay with 3 styles:
LottieLoadingConfig(12 bundled animations, random pick).VideoLoadingConfig(asset / network / file).WidgetLoadingConfig(any custom widget).
- Throttling:
MyAds.interIntervalInSecondsbetween interstitials, bypassed withforceShow: true. - Per-
adKeyshow-rate logger inMyAds.showRate. - Single broadcast
MyAds.eventsstream emittingAdInformationrecords for every status transition (load / impression / paid / dismiss / ...). - Bilingual DartDoc (English + Tiếng Việt) on the public surface.
Requirements #
- Flutter 3.0+
- Android
minSdkVersion23,compileSdk34 - iOS 13.0+
- AdMob App ID configured in
AndroidManifest.xml+ios/Runner/Info.plist