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

AdMob utilities for Flutter: six ad formats, AppAdsUtil configuration, and safe test/production switching for Android and iOS.

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.9
Current git tag: 1.1.9 · Package version: 1.1.9

1.1.9 - 2026-08-31 #

Git tag: 1.1.9

Fixed #

  • Shortened pubspec.yaml description to meet pub.flutter-io.cn length guidance (60–180 characters).
  • Removed insecure tel: links from README.md for pub.flutter-io.cn scoring.
  • Aligned GitHub main branch pubspec.yaml repository URLs with https://github.com/juni12891226/flutter-admobs-handler for pub.flutter-io.cn repository verification.

Changed #

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

1.1.8 - 2026-08-30 #

Git tag: 1.1.8

Fixed #

  • README flag images now use absolute raw.githubusercontent.com URLs. pub.flutter-io.cn 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.flutter-io.cn (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.flutter-io.cn 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.flutter-io.cn.
  • 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
150
points
252
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

AdMob utilities for Flutter: six ad formats, AppAdsUtil configuration, and safe test/production switching for Android and iOS.

Topics

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

License

MIT (license)

Dependencies

flutter, google_mobile_ads

More

Packages that depend on flutter_admobs_handler