ironsource_flutter_ads 1.0.2

Flutter Android iOS

A Flutter plugin that uses native platform views to show IronSource banner and interstitial ads!

Ironsource Flutter Mediation SDK #

A Flutter plugin that uses native platform views (IOS & Android) to show IronSource banner and interstitial ads!



portfolio_view        portfolio_view

Getting Started 🚀 #

1. Initialize the plugin:

 IronsourceFlutterAds.initialize(Constants.appID);

2. Show Banner Ad:

  IronSourceBanner(
      adSize: bannerSize,
      listener: (
        IronsourceAdEvent event, Map<String, dynamic> args) {
        handleEvent(event, args, 'Banner');
       },
     ),

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();
  • Show Interstitial Ad:
  if (await interstitialAd.isLoaded){
      interstitialAd.show();
  }                        



Future Work #

  • Implement for type of rewarded and offerwall ads.
5
likes
70
pub points
49%
popularity

A Flutter plugin that uses native platform views to show IronSource banner and interstitial ads!

Homepage

Documentation

API reference

Uploader

onurcanyurt@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on ironsource_flutter_ads