Skip to main content

smart_google_ads 0.3.0 copy "smart_google_ads: ^0.3.0" to clipboard
smart_google_ads: ^0.3.0 copied to clipboard

A lifecycle-safe Flutter Google Mobile Ads package with optional UMP consent, age restrictions, Remote Config, and smart ad widgets.

0.3.0 #

  • Flutter Decoupled UI Architecture:
    • Added dependencies on standalone material_ui: ^1.11.1 and cupertino_ui: ^1.1.7.
    • Migrated all internal imports from the deprecated package:flutter/material.dart and package:flutter/cupertino.dart paths to package:material_ui/material_ui.dart and package:cupertino_ui/cupertino_ui.dart.
    • Fully compatible with Flutter 3.47+ through Flutter 3.50+ / Dart 3.14+.
  • Package Updates:
    • Upgraded firebase_remote_config to ^7.1.0 (incorporating firebase_core 5.2.0 and Firebase BoM 35 support).
    • Validated full compatibility with google_mobile_ads: ^9.2.0 (UMP 4.0 and Next-Gen GMA SDK 1.3.1).
  • Platform & SDK Requirements:
    • Updated Android deployment requirement to minSdk 24 to satisfy Firebase BoM 35.
    • Verified Swift Package Manager (SPM) default support for iOS/macOS builds.
  • Example App & Developer Experience:
    • Updated example app to use the local package path and material_ui: ^1.11.1.
    • Cleaned up analyzer warnings and formatting according to latest flutter_lints 6.0.

0.2.4 #

  • Google-ads version bumped to 9.2.0

0.2.3 #

  • Sized the banner loading shimmer to the resolved anchored adaptive banner dimensions and constrained custom loading widgets to the same bounds.
  • Clear the loading state and collapse failed or unfilled banners, including adaptive-size errors, exceptions, and requests that time out.
  • Replaced the shimmer package with a theme-aware animated banner skeleton.

0.2.2 #

  • Added an embedded demo video.
  • Prepared the package metadata for the next pub.dev release.

0.2.1 #

  • Added a GitHub demo video link to the README.
  • Linked the README demo video from the external Hx-313/videos repository with an absolute raw-media URL for pub.dev rendering.

0.2.0 #

  • Documented Android GMA Next-Gen builds and mediation constraints.
  • Gated Mobile Ads initialization on the UMP ad-request decision.
  • Updated adaptive banners and app-open lifecycle handling to current plugin APIs.
  • Made omitted consent environment-aware: debug skips UMP for test ads and release enforces UMP; explicit consent values still override the default.
  • Consolidated Remote Config setup under AdsRemoteConfigOptions.
  • Restored the animated shimmer loading placeholder for banner ads.

0.1.1 #

  • Added a complete local-mode example app for pub.dev users.
  • Expanded setup documentation for local ad flags and interstitial frequency.
  • Added missing documentation for AdClickProvider.
  • Added platform-specific debug ad-unit ID support.

0.1.0 #

  • Added the package-owned AdsBootstrap API.
  • Added explicit platform/debug ad unit configuration.
  • Added Remote Config options, defaults, fallback behavior, and all ad-type enable flags.
  • Added ad-aware SmartDialog wrappers and usage documentation.
  • Added opt-in Google UMP consent handling with a fail-closed ad-request gate.
  • Added opt-in age-treatment and maximum-ad-rating request restrictions.
  • Added a privacy-options helper that refreshes ad availability after a user changes their consent choice.
  • Removed the bootstrap's dependency on host-app .env files.
1
likes
160
points
128
downloads

Documentation

API reference

Publisher

verified publishersolithx.com

Weekly Downloads

A lifecycle-safe Flutter Google Mobile Ads package with optional UMP consent, age restrictions, Remote Config, and smart ad widgets.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cupertino_ui, firebase_remote_config, flutter, google_mobile_ads, material_ui

More

Packages that depend on smart_google_ads