ironsource_flutter_ads 0.0.1 copy "ironsource_flutter_ads: ^0.0.1" to clipboard
ironsource_flutter_ads: ^0.0.1 copied to clipboard

outdated

A new Flutter plugin.

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.
7
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter plugin.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on ironsource_flutter_ads