topon_ad_plugin 0.0.14
topon_ad_plugin: ^0.0.14 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.14 - 2026-10-31 #
๐ Added #
- Full iOS Platform Support: Integrated native iOS support via TopOn (AnyThink) SDK with complete feature parity to Android.
- Added native Objective-C implementation (
ToponAdPlugin.h,ToponAdPlugin.m) and CocoaPods specification (topon_ad_plugin.podspec). - Added support for all ad formats on iOS:
- Interstitial Ads (
loadInterstitialAd,showInterstitial) - Rewarded Video Ads (
loadRewardedAd,showRewardedAd) with Server-to-Server (S2S) verification data (userId,customData) and display-time custom data (showCustomData) - Banner Ads (
loadBannerAd,removeBannerAd) with safe area layout constraints and top/bottom positioning - Native Ads (Self-Rendering) (
loadNativeAd,getNativeAdInfo) mapping all asset fields toToponNativeAdInfo - Splash Ads (
loadSplashAd) with auto-display on readiness
- Interstitial Ads (
- Implemented decoupled delegate listeners for each ad format (
ToponInterstitialDelegate,ToponRewardedVideoDelegate,ToponBannerDelegate,ToponSplashDelegate,ToponNativeDelegate) to prevent callback collisions.
- Added native Objective-C implementation (
๐ Documentation & Examples #
- Added comprehensive IOS_SETUP_GUIDE.md covering CocoaPods adapter configuration (AdMob, Meta, Vungle, InMobi, etc.),
Info.plistkeys (ATT, ATS, SKAdNetworkItems), App Tracking Transparency authorization flow, and troubleshooting. - Updated
README.mdwith iOS setup instructions. - Added iOS runner setup and platform-aware helper getters to the example project.
0.0.13 - 2026-09-30 #
- Added rewarded-ad S2S postback metadata support (
userIdandcustomData). - Added APIs to set and clear rewarded S2S data safely across login changes.
- Rewarded S2S data can be supplied while loading; display-time custom data is
supported through TopOn's
show_custom_extfield.
[0.0.12] - 2026-07-13
๐ ๏ธ Updates #
- Upgraded all integrated Ad SDKs to their latest stable versions for improved performance and compatibility.
[0.0.11] - 2026-07-13
๐ ๏ธ Updates #
- Upgraded all integrated Ad SDKs to their latest stable versions for improved performance and compatibility.
[0.0.10] - 2025-09-26
๐ Added #
- Added support for InMobi ad network adapter to enhance mediation capabilities.
๐ ๏ธ Updates #
- Upgraded all integrated Ad SDKs to their latest stable versions for improved performance and compatibility.
[0.0.9] - 2025-08-17
๐ Updates #
- Upgraded all integrated Ad SDKs to their latest stable versions for enhanced performance and compatibility:
- โ TopOn SDK upgraded
- โ AdMob Adapter updated
- โ Facebook (Meta Audience Network) Adapter updated
- โ UnityAds Adapter updated
- โ IronSource Adapter updated
- โ AppLovin Adapter updated
- โ Mintegral Adapter updated
- โ Vungle Adapter updated
0.0.8 - 2025-06-30 #
๐ Updates #
- Upgraded all integrated Ads SDKs to their latest stable versions for improved performance and compatibility:
- โ TopOn SDK upgraded
- โ AdMob Adapter updated
- โ Facebook (Meta Audience Network) Adapter updated
- โ UnityAds Adapter updated
- โ IronSource Adapter updated
- โ AppLovin Adapter updated
- โ Mintegral Adapter updated
- โ Vungle Adapter updated
๐ ๏ธ Improvements #
- Ensured compatibility with latest Android dependencies.
- Verified stability of native ad lifecycle after SDK updates.
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.