pubstar_io 1.1.8+2
pubstar_io: ^1.1.8+2 copied to clipboard
PubStar Flutter AD SDK helps developers easily integrate ads into Flutter apps.
1.1.8+2 - 2025-05-25 #
Added #
- First public release of
pubstar_ioFlutter plugin. - Supports both Android and iOS platforms.
- Display mobile ads using Pubstar Ads API on Android/iOS devices.
- Core API:
PubstarIo.instance.init(): Initialize the Pubstar IO Ads SDK.PubstarIo.instance.loadAd(String adId): Load an ad by ID.PubstarIo.instance.showAd({required String adId}): Show an ad once by ID.PubstarIo.instance.showAdWithViewId({required String adId, required int viewId}): Show ad in a specific native view.PubstarIo.instance.loadAndShowAd(String adId): Load and immediately show an ad.
- Flutter widget:
PubstarAdView: Easily embed native ad views in your widget tree.PubstarAdVideoView: Easily embed native video ad views in your widget tree.- Supports different ad loading/display modes via
PubstarAdViewMode.
- Ad event stream:
PubstarEventService: Listen to ad events (AdLoaded,AdShowed,AdHide,AdError) from native via EventChannel.- Typed ad event classes for type-safe event handling.
Notes #
- Please call
PubstarIo.instance.init()before loading or showing any ads. - Requires valid Pubstar Ads API key/ad unit IDs for proper operation.
- See documentation and inline comments for usage examples.