common_interface 2.0.0
common_interface: ^2.0.0 copied to clipboard
Common Interface For MultiAdNetwork
2.0.0 #
Breaking release. See BREAKING_CHANGES.md for the full migration guide.
Changed #
NetworkInterfaceis now 4 methods that take anAdsType(load,show,loadAndShow,isLoaded) instead of 12 per-format methods.AdModuleandAdModuleWithCallBacksare replaced byAdCallbacks, with error details (AdFailure) and a newonRewardEarned.- Server config is typed:
AdConfigholdsAdTargets andNetworkTypes instead of"1.0"strings and raw lists. GlobalAdVariablesis split intoAdSession,AdStateandReviewPrompt.- Models are immutable and use
factory .fromJson. - Source moved to
lib/src/with snake_case file names; one barrel export.
Fixed #
- Review counter advanced by 2 per call, so thresholds 5/15/45 were never reached.
isTabletmissed a shortest side of exactly 600.- Android device id was the firmware build id; new installs now get a generated UUID.
- Malformed ad indexes and configs no longer throw.
- The device token is no longer logged.
Removed #
NetworkMappingModel,NetworkToIndexMapper,getAdUnites(),PixelExtension,NotificationInterface,NotificationModel, theproviderre-export.
1.0.7 #
- Bumped
device_info_plusto^13.2.0(win32 6) so consumers can usepackage_info_plus10+. - Raised SDK to
>=3.10.0and Flutter to>=3.38.1to match plus-plugins requirements.
1.0.8 #
- Bumped SDK
1.0.0+2 #
Added Yodo Facebook
1.0.1 #
Added Custom Methods
1.0.2 #
Added Methods For Private Servers
1.0.3 #
Fixed Import Issues
1.0.4 #
Fixed Import Issues
1.0.5 #
Fixed Import Issues
1.0.6 #
Update Packages