simple_admob_native_ad 2.0.0
simple_admob_native_ad: ^2.0.0 copied to clipboard
A simple, compact Flutter plugin for displaying Google AdMob native ads as banners with auto-refresh and lifecycle management.
2.0.0 #
- Breaking: Require
google_mobile_ads: ^9.1.0(was^6.0.0). Apps still ongoogle_mobile_ads6.x–8.x must stay on 1.2.1. - Breaking: Raise minimum Flutter to 3.38.1, as required by
google_mobile_ads8.0.0. - No Dart API changes. The Kotlin and Objective-C factory interfaces used by this plugin
(
NativeAd,NativeAdListener,NativeAdOptions,GoogleMobileAdsPlugin.registerNativeAdFactory,FLTGoogleMobileAdsPlugin.registerNativeAdFactory) are unchanged ingoogle_mobile_ads9.x; only the Android import path ofNativeAdFactorymoved (it is now a top-level type instead of nested inGoogleMobileAdsPlugin). - iOS setup changed.
google_mobile_ads9.x ships a Swift Package, and Flutter 3.47 enables Swift Package Manager by default. Because this plugin is still CocoaPods-only, apps must turn SPM off (flutter: config: enable-swift-package-manager: false) and setCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YESin their Podfile. See the iOS section of the README. Swift Package Manager adoption is tracked for a future release.
1.2.1 #
- Fix iOS native ad icon left padding
- Fix Android Ad label rounded corners
1.2.0 #
- Add
leftPaddingandrightPaddingparameters for native ad layout customization - Add
adChoicesPlacementparameter to control AdChoices icon position
1.0.1 #
- Added screenshots to pub.dev listing
1.0.0 #
- Initial release
- Native ad banner support for iOS and Android
- Auto-refresh with configurable interval
- Automatic lifecycle management
- Dark/light mode support with
forceColorModeparameter - Customizable background color with
backgroundColorparameter - Customizable placeholder and borders
- Theme-aware color scheme