0 purchases
startapp sdk flutter
Startapp SDK Plugin #
Supported both iOS and Android.
Note: Only show banner ad currently (still beta with fixed size)
Getting Started #
Initialization
Startapp.instance.initialize('your_app_id');
copied to clipboard
Add banner ad
StartappBanner(
listener: handleEvent,
adSize: StartappBannerSize.BANNER,
)
copied to clipboard
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:
}
}
copied to clipboard
Getting Started #
Implement Interstitial Ad and Rewarded Video Ad
Support #
Thanks for your coffee :D
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.