Last updated:
0 purchases
ironsource flutter ads
Ironsource Flutter Mediation SDK #
A Flutter plugin that uses native platform views (IOS & Android) to show IronSource banner and interstitial ads!
Getting Started 🚀 #
1. Initialize the plugin:
IronsourceFlutterAds.initialize(Constants.appID);
copied to clipboard
2. Show Banner Ad:
IronSourceBanner(
adSize: bannerSize,
listener: (
IronsourceAdEvent event, Map<String, dynamic> args) {
handleEvent(event, args, 'Banner');
},
),
copied to clipboard
3. Show Interstitial Ads
Implementing listener and load Interstitial Ad:
IronsourceInterstitial interstitialAd;
interstitialAd = IronsourceInterstitial(
listener: (IronsourceAdEvent event, Map<String, dynamic> args) {
handleEvent(event, args, 'Interstitial');
},
);
interstitialAd.load();
copied to clipboard
Show Interstitial Ad:
if (await interstitialAd.isLoaded){
interstitialAd.show();
}
copied to clipboard
Future Work #
Implement for type of rewarded and offerwall ads.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.