ad_flow 1.3.1
ad_flow: ^1.3.1 copied to clipboard
Easy AdMob integration for Flutter with banner, interstitial, rewarded, native & app open ads, plus built-in GDPR/ATT consent management.
1.3.1 #
- NEW: Added
AdFlow.instance.reset()for testing- Enables proper unit testing of singleton state
- Clears all managers and resets initialization
- FIX: Fixed barrel export to use correct file (
ad_service.dart) - FIX: Fixed
use_build_context_synchronouslywarnings inBannerAdManager - IMPROVED: Added lazy initialization for ad managers
- Managers only created when first accessed
- Better memory efficiency for apps using subset of ad types
- IMPROVED: Expanded test coverage from 140 to 185 tests
- Added
AdFlowsingleton tests - Added
EasyBannerAdwidget tests - Added
ConsentManagertests
- Added
- Removed duplicate
ad_flow_service.dartfile
1.3.0 #
- NEW: Added
EasyPrivacySettingsButtonwidget for GDPR compliance- Auto shows/hides based on privacy options requirement
- Opens official Google privacy options form
- Customizable text, icon, and style
- NEW: Added
PrivacySettingsListTilefor settings screens - FIX:
initializeWithExplainer()now properly checks AdsEnabledManager- Previously skipped "Remove Ads" check, now matches
initialize()behavior
- Previously skipped "Remove Ads" check, now matches
- FIX:
isPrivacyOptionsRequired()now returns correct cached value- Was incorrectly returning
canRequestAdsinstead of privacy options status
- Was incorrectly returning
- Added production example with complete implementation guide
- Updated documentation with privacy button usage examples
1.2.0 #
- NEW: Added
RewardedAdManagerfor rewarded video ads- Watch ads to earn in-app rewards (coins, lives, etc.)
- Automatic preloading and retry logic
- Reward callbacks with type and amount
- Status listeners for UI updates
- Added
androidRewardedAdUnitIdandiosRewardedAdUnitIdtoAdFlowConfig - Added
TestAdUnitIds.rewardedfor testing - Re-exported
RewardedAdandRewardItemfrom google_mobile_ads - Updated example app with rewarded ads demo page
1.1.0 #
- BREAKING: Added
AdFlowConfigfor runtime configuration of ad unit IDs - Users can now configure ad unit IDs without modifying package source code
- Added
AdFlowConfig.testMode()factory for easy development/testing setup - Added
TestAdUnitIdsclass with Google's official test ad unit IDs AdConfigis now a proxy that reads fromAdFlowConfig- Updated example app to demonstrate new configuration pattern
1.0.2 #
- Added explicit platform support declaration for Android and iOS
1.0.1+1 #
- Code formatting fixes for pub.dev static analysis compliance
1.0.1 #
- Initial release
- Banner ads (adaptive and collapsible)
- Interstitial ads with cooldown management
- App open ads with lifecycle handling
- Native ads with factory support
- GDPR/ATT consent management via UMP SDK
- iOS App Tracking Transparency support
- Remove Ads feature with persistence
- Multi-language consent dialogs (English, Spanish, Persian)