multi_ads 2.0.0
multi_ads: ^2.0.0 copied to clipboard
Multiple Ad Network
Changelog #
All notable changes to this package are documented in this file.
2.0.0 - 2026-10-15 #
Requires common_interface 2.x; see its BREAKING_CHANGES.md. Network plugins
(google, unity, yodo, ironSource, facebook) must be on 2.x too.
Breaking #
adModuleWithCallBacks:parameters are nowcallbacks:and takeAdCallbacks(onClosed,onLoaded,onShown,onRewardEarned,onRewardSkipped).MultiAds.showOnFailedandMultiAds.limitare gone; fallback handling is internal.AdClass.initAdNetwork(initNetwork: List)isinitNetworks: List<NetworkType>;AdClass.showAdtakes anAdTarget.- Models renamed:
RewardsModel→Reward,RewardDetailModel→RewardDetail,AdConfigDataModel→AdConfig;CategoryRewardsfields are nowpending/collected/expired. GlobalAdVariablesis replaced byAdSession,AdStateandReviewPrompt;DeviceMethodsbyDeviceService.JsonMethods.parseScreenData/parseAdNetworkIdsreturn empty maps instead ofnull.package:provideris no longer re-exported throughmulti_ads; add it to your pubspec if you use it.
Fixed #
- The fallback chain now uses the config of the requested route (
showAdBasedOnNameused the current screen's route), and its 3-attempt limit is per request instead of a counter shared across the whole session. - A network that is not registered, or a missing config, no longer crashes or leaves the loader spinning: it counts as a load failure and falls back.
- Rewarded ads that fail to show on IronSource/Yodo now fall back instead of hanging.
- Banner/native placements can use any registered network, not only google/unity/yodo.
- The review dialog's rating notifier is no longer replaced on every rating change.
AdClass.showUserMessagenow awaits the ATT request inside itstry, so failures are handled instead of escaping.- Dialogs and ads shown after async gaps check
context.mountedfirst.
1.1.7 - 2026-08-07 #
- Added
IspIdentifyServiceto detect Apple / Google ISPs via wildcard patterns from remoteversions.extra_config(list[{...}]or map; built-in defaults when config is missing). - Wired ISP capture and
extra_configbinding intoSetupMixin.registerApp. - Migrated consent / UMP flow from discontinued
user_messaging_platformtogoogle_mobile_ads(SPM-friendly). - Bumped
common_interfaceto^1.0.7andpackage_info_plusto^10.2.1(requires Flutter>=3.38.1/ Dart>=3.10.0).
1.1.6 - 2026-06-14 #
- SPM Support
1.1.5 - 2026-04-20 #
- Added Clash of Clans base layout support:
CocApiHelper(filtered layout listing, pagination viaonNextPage, andgetFiltersfor/cocbases/filter-options) plusCocLayoutmodel parsing. - Expanded the anime module:
AnimeApiClientandAnimeServicesnow cover dashboard, staff, per-episode fetch, forum, videos (including paginated video episodes), pictures, statistics, more info, recommendations, user updates, relations, themes, external links, and richer anime search query parameters; requests continue to use the shared Jikan-style proxy anddevice_public_keywhere applicable. - Documented
BrawlStarHelper.officialApiinREADME.md(Brawl Stars proxy URL shape,endpointquery parameter, and player tag encoding with%23).
1.1.4 - 2026-04-08 #
- Fixed Dashboard API.
1.1.3 - 2026-04-05 #
- Added Anime API helper module with complete anime endpoint methods.
- Added Jikan cache-wrapper support via
/jikanwithendpoint=/...query forwarding. - Ensured Anime API requests include
device_public_keyheader. - Improved package documentation with a full plugin-style
README.md.
1.1.2 - 2025-02-01 #
- Fixed bugs and stability issues.
1.1.1 - 2025-01-30 #
- Added Clash of Clans helper data support.
1.1.0 - 2025-07-10 #
- Updated ad network SDK versions.
1.0.9 - 2025-06-12 #
- Updated internal plugins.
- Added mediation support.
1.0.8 - 2024-12-27 #
- Updated internal system plugin versions.
1.0.7 - 2024-12-02 #
- Added
showFullScreenAdWithNameto trigger ads using a route name.
1.0.5 #
- Fixed imports.
- Updated
common_interfaceintegration.
1.0.4 #
- Migrated core helper flows to mixin-based structure.
1.0.3 #
- Initial release updates.
1.0.2 #
- Initial release updates.
1.0.1 #
- Initial release updates.
1.0.0 #
- Initial release.