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
ToponNativeAdInfoDart 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.mdto match new native ad integration flow.
0.0.6 - 2025-04-25 #
π Fixed #
- Resolved
IllegalStateException: Reply already submittedcrash. - 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
TUBannerViewand handle removal/reloading without errors.