https://github.com/vdung7/startapp_flutter_plugin
Flutter plugin for StartApp SDK
https://github.com/vdung7/startapp_flutter_plugin
adnetwork flutter-plugin startapp startapp-flutter-plugin startapp-sdk
Last synced: 3 months ago
JSON representation
Flutter plugin for StartApp SDK
- Host: GitHub
- URL: https://github.com/vdung7/startapp_flutter_plugin
- Owner: vdung7
- License: apache-2.0
- Created: 2019-11-29T06:09:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-19T04:01:46.000Z (over 5 years ago)
- Last Synced: 2025-10-23T00:39:20.504Z (7 months ago)
- Topics: adnetwork, flutter-plugin, startapp, startapp-flutter-plugin, startapp-sdk
- Language: Java
- Homepage: https://pub.dev/packages/startapp
- Size: 117 KB
- Stars: 11
- Watchers: 2
- Forks: 9
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
* Updating AndroidManifest.xml file
_Base on [StartApp SDK document](https://support.startapp.com/hc/en-us/articles/360002411114-Android-Standard-#Step1,AddingandInitializingtheSDKtoYourProject)_
Add following meta-data tag with your StartApp App Id under the section in your manifest file:
```xml
```
If you want to disable return ads (they are enabled by default) please add following meta-data tag:
```xml
```
If you want to disable splash ads (they are enabled by default) please add following meta-data tag:
```xml
```
* Banner as widget
```dart
import 'package:startapp/startapp.dart';
...
// StartApp AdBanner as widget
AdBanner(),
```
* Load interstitial ad
```dart
import 'package:startapp/startapp.dart';
...
await StartApp.showInterstitialAd();
```
* Load rewarded video ad
```dart
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 ;-)
[](https://www.buymeacoffee.com/htoOyQV)