flutter_admobs_handler 1.1.8 copy "flutter_admobs_handler: ^1.1.8" to clipboard
flutter_admobs_handler: ^1.1.8 copied to clipboard

Reusable AdMob utilities for Flutter with banner, native advanced, app open, interstitial, rewarded, and rewarded interstitial ads, test/production switching, and a central AppAdsUtil configuration API.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Latest release: 1.1.8
Current git tag: 1.1.8 · Package version: 1.1.8

1.1.8 - 2026-08-30 #

Git tag: 1.1.8

Fixed #

  • README flag images now use absolute raw.githubusercontent.com URLs. pub.dev strips relative paths from HTML <img> tags, which caused [Flag of Pakistan] alt text to appear instead of the PNG.

Changed #

  • Aligned pubspec.yaml version with git release tag 1.1.8.

1.1.7 - 2026-08-30 #

Git tag: 1.1.7

Fixed #

  • README Pakistan flag now uses doc/images/pakistan_flag.png so the banner renders on pub.dev (SVG is not supported in package README images).

Changed #

  • Aligned pubspec.yaml version with git release tag 1.1.7.

1.1.6 - 2026-08-30 #

Git tag: 1.1.6

Added #

  • RewardedInterstitialAdUtil for preloading and presenting rewarded interstitial ads with the same lifecycle API as RewardedAdUtil.
  • NativeAdUtil and AdMobNativeWidget for native advanced ads (Google templates or host-registered factoryId).
  • AppOpenAdUtil for app open ads with cache expiry and showIfAvailable().
  • Central configuration for all new formats on AppAdsUtil (native*, rewardedInterstitial*, appOpen* IDs and resolved AdMobAdUnitIds getters).
  • AdMobAdFormat / test unit fallbacks for rewarded interstitial, native advanced, and app open placements.
  • Example app demos for all six ad formats.
  • Tests for new formats, test-unit resolution, and unsupported-platform behavior.
  • Pakistan flag asset and redesigned README with author profile.

Changed #

  • Aligned pubspec.yaml version with git release tag 1.1.6.
  • Confirmed repository, homepage, and issue-tracker URLs point to https://github.com/juni12891226/flutter-admobs-handler.

1.1.5 - 2026-08-25 #

Git tag: 1.1.5

Changed #

  • Aligned pubspec.yaml version with git release tag 1.1.5.
  • Expanded the example app into a runnable Android/iOS project that demos banner, interstitial, and rewarded ads, including RewardedAdShowResult.
  • Declared Android/iOS platforms in pubspec.yaml and strengthened public API documentation for pub.dev scoring and maintainability.
  • Updated repository, homepage, and issue-tracker URLs to https://github.com/juni12891226/flutter-admobs-handler.
  • Upgraded flutter_lints to ^6.0.0 and tightened analysis_options.yaml.
  • Added a GitHub Actions CI workflow (analyze, test, format check).
  • Improved adaptive banner NO_FILL recovery (git tag 1.1.3) by stepping down through AdSize.largeBanner before the configured fallback size.
  • Banner widget layout now uses a full-width container with a centered ad.

Fixed #

  • AdMobBannerWidget skips adaptive size platform calls on unsupported hosts so tests and desktop tooling do not hang.

Added #

  • Google test AdMob application IDs in the example Android/iOS manifests.
  • Example widget test and expanded package tests for AppAdsUtil.configure and RewardedAdShowResult.
  • Package-level library documentation and dartdoc coverage for the public API.

1.1.1 - 2026-08-22 #

Git tag: 1.1.4

Fixed #

  • RewardedAdUtil.show() now returns RewardedAdShowResult with reliable rewardEarned tracking. On Android the platform can fire onUserEarnedReward after the fullscreen ad dismisses; the util now waits for dismiss and applies a short grace period so consumers receive the reward before continuing.

Added #

  • RewardedAdShowResult (shown, rewardEarned, reward) for structured rewarded-ad outcomes.

1.1.0 - 2026-08-18 #

Git tag: 1.1.0

Changed #

  • Bumped google_mobile_ads from ^6.0.0 to ^9.1.0 so Android builds work with Gradle 9 / AGP 9 (configurations.all is no longer valid).
  • Adaptive banners now use AdSize.getLargeAnchoredAdaptiveBannerAdSize.
  • Raised Dart SDK to ^3.10.0 and Flutter to >=3.38.1 to match GMA 9.x.

1.0.0 - 2026-08-18 #

Git tag: 1.0.0

Added #

  • Initial release on pub.dev.
  • AppAdsUtil singleton with setters/getters for banner, interstitial, and rewarded ad unit IDs.
  • BannerAdUtil, InterstitialAdUtil, and RewardedAdUtil lifecycle helpers.
  • AdMobBannerWidget with optional adaptive full-width banners.
  • Global test/production switch with Google test unit fallbacks.
  • Test device registration and publisher mismatch logging.
  • Banner retry support for transient load failures.
  • Example app under example/.
2
likes
145
points
267
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Reusable AdMob utilities for Flutter with banner, native advanced, app open, interstitial, rewarded, and rewarded interstitial ads, test/production switching, and a central AppAdsUtil configuration API.

Topics

#admob #ads #advertising #google-mobile-ads #monetization

License

MIT (license)

Dependencies

flutter, google_mobile_ads

More

Packages that depend on flutter_admobs_handler