startapp 0.4.0 copy "startapp: ^0.4.0" to clipboard
startapp: ^0.4.0 copied to clipboard

outdated

Flutter plugin for StartApp SDK - Currently only support Android platform

Flutter - StartApp SDK Plugin #

Flutter plugin for StartApp SDK.

Currently, this plugin only support Android platform. The plugin is my weekend project, so any contributes to make it better are welcome.

How to use the plugin #

  • Add StartApp ID of project to AndroidManifest.xml as meta-data:
<meta-data android:name="vn.momo.plugin.startapp.STARTAPP_ID" android:value="\ {your-startapp-id}" />
  • Banner as widget
import 'package:startapp/startapp.dart';
...

// StartApp AdBanner as widget
AdBanner(),
  • Load interstitial ad
import 'package:startapp/startapp.dart';
...
await StartApp.showInterstitialAd();
  • Load rewarded video ad
import 'package:startapp/startapp.dart';
...
await StartApp.showRewardedAd(onVideoCompleted: () {
    // video completed callback
}, onReceiveAd: () {
    // ad received callback
}, onFailedToReceiveAd: (String error) {
    // failed to received ad callback
});

Support #

If this package was helpful to you in delivering on your project or you just wanna to support this project, a cup of coffee would be highly appreciated ;-)

Buy me a coffee

29
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Flutter plugin for StartApp SDK - Currently only support Android platform

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on startapp