startapp_sdk_flutter 0.0.8 copy "startapp_sdk_flutter: ^0.0.8" to clipboard
startapp_sdk_flutter: ^0.0.8 copied to clipboard

A startapp ads plugin

Startapp SDK Plugin #

Supported both iOS and Android. Note: Only show banner ad currently (still beta with fixed size)

Getting Started #

  1. Initialization
Startapp.instance.initialize('your_app_id');
  1. Add banner ad
StartappBanner(
          listener: handleEvent,
          adSize: StartappBannerSize.BANNER,
        )
  1. Events
 void handleEvent(StartappEvent event) {
    switch (event) {
      case StartappEvent.onClick:
        print('Received: onClick!');
        break;
      case StartappEvent.onReceiveAd:
        print('Received: onReceiveAd');
        break;
      case StartappEvent.onImpression:
        print('Received: onImpression');
        break;
      case StartappEvent.onFailedToReceiveAd:
        print('Received: onFailedToReceiveAd');
        break;
      default:
    }
  }

Getting Started #

Implement Interstitial Ad and Rewarded Video Ad

Support #

Thanks for your coffee :D

Buy me a coffee