topon_ad_plugin 0.0.7
topon_ad_plugin: ^0.0.7 copied to clipboard
A Flutter plugin for integrating TopOn Ads using Method Channels. Supports interstitial, rewarded, banner, native, and splash ads.
๐ Changelog #
All notable changes to this project will be documented in this file.
[0.0.7] - 2025-04-27 #
๐ฅ Major Changes #
- Replaced
showNativeAd()
withgetNativeAdInfo()
method for better self-rendered native ad control. - Introduced
ToponNativeAdInfo
Dart class for strongly-typed native ad information. - Added full native ad lifecycle event listeners (Impression, Click, Close, Video Start, Video End).
๐ ๏ธ Improvements #
- Cleaned up Flutter plugin code with better documentation and null safety.
- Updated
README.md
to match new native ad integration flow.
[0.0.6] - 2025-04-25 #
๐ Fixed #
- Resolved
IllegalStateException: Reply already submitted
crash. - Ensured
MethodChannel.Result.success()
is called only once per method invocation. - Added guards (
pendingInterstitialResult
,pendingRewardedResult
) to prevent multiple replies from asynchronous ad callbacks.
[0.0.5] - 2025-04-24 #
[0.0.4] - 2025-04-21 #
๐ ๏ธ Fixed #
- Resolved crash due to re-adding banner view (
IllegalStateException: The specified child already has a parent
). - Banner ads now properly recreate
TUBannerView
and handle removal/reloading without errors.