Skip to main content

common_interface 2.0.0 copy "common_interface: ^2.0.0" to clipboard
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 #

  • NetworkInterface is now 4 methods that take an AdsType (load, show, loadAndShow, isLoaded) instead of 12 per-format methods.
  • AdModule and AdModuleWithCallBacks are replaced by AdCallbacks, with error details (AdFailure) and a new onRewardEarned.
  • Server config is typed: AdConfig holds AdTargets and NetworkTypes instead of "1.0" strings and raw lists.
  • GlobalAdVariables is split into AdSession, AdState and ReviewPrompt.
  • 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.
  • isTablet missed 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, the provider re-export.

1.0.7 #

  • Bumped device_info_plus to ^13.2.0 (win32 6) so consumers can use package_info_plus 10+.
  • Raised SDK to >=3.10.0 and Flutter to >=3.38.1 to match plus-plugins requirements.

1.0.8 #

  • Bumped SDK

1.0.0+1 #

Basic Interface #

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

1
likes
120
points
77
downloads

Documentation

API reference

Publisher

verified publisherrbtechlab.in

Weekly Downloads

Common Interface For MultiAdNetwork

Homepage

License

Apache-2.0 (license)

Dependencies

device_info_plus, flutter, flutter_secure_storage, intl, provider, uuid

More

Packages that depend on common_interface