startapp
StartApp SDK용 Flutter 플러그인 - 현재 Android 플랫폼만 지원
StartApp SDK용 Flutter 플러그인
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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.
Base on StartApp SDK document
Add following meta-data tag with your StartApp App Id under the section in your manifest file:
<meta-data android:name="com.startapp.sdk.APPLICATION_ID" android:value="startapp_app_id" />
If you want to disable return ads (they are enabled by default) please add following meta-data tag:
<meta-data android:name="com.startapp.sdk.RETURN_ADS_ENABLED" android:value="false" />
If you want to disable splash ads (they are enabled by default) please add following meta-data tag:
<meta-data android:name="vn.momo.plugin.startapp.SPLASH_AD_ENABLED" android:value="false" />
import 'package:startapp/startapp.dart';
...
// StartApp AdBanner as widget
AdBanner(),
import 'package:startapp/startapp.dart';
...
await StartApp.showInterstitialAd();
import 'package:startapp/startapp.dart';
...
await StartApp.showRewardedAd(onVideoCompleted: () {
// video completed callback
}, onReceiveAd: () {
// ad received callback
}, onFailedToReceiveAd: (String error) {
// failed to received ad callback
});
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 ;-)