smart_google_ads 0.3.0
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.1andcupertino_ui: ^1.1.7. - Migrated all internal imports from the deprecated
package:flutter/material.dartandpackage:flutter/cupertino.dartpaths topackage:material_ui/material_ui.dartandpackage:cupertino_ui/cupertino_ui.dart. - Fully compatible with Flutter 3.47+ through Flutter 3.50+ / Dart 3.14+.
- Added dependencies on standalone
- Package Updates:
- Upgraded
firebase_remote_configto^7.1.0(incorporatingfirebase_core 5.2.0and 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).
- Upgraded
- Platform & SDK Requirements:
- Updated Android deployment requirement to
minSdk 24to satisfy Firebase BoM 35. - Verified Swift Package Manager (SPM) default support for iOS/macOS builds.
- Updated Android deployment requirement to
- 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.
- Updated example app to use the local package path and
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
shimmerpackage 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/videosrepository 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
AdsBootstrapAPI. - 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
.envfiles.