Ap Flutter Kit – A Flutter Plugin for ApAppKit

0 0

AP Flutter Kit

Ap Flutter Kit is a Flutter Plugin for ApAppKit. It currently support Android Platform. It allows you to integrate AdPushup’s AdX Ads into your apps.

Get Started:

This guide is intended for publishers who want to monetize an Android app built using Flutter with AdPushup AdX ads. Integrating the Ap Flutter Kit into an app is the first step toward implementing AdPushUp AdX Ads in your app.

Code Changes:

A: Configuration:

To prepare your app, complete the steps in the following sections:

  1. Run this command:

    With Flutter:

    flutter pub add ap_flutter_kit

    This will add a line like this to your package’s pubspec.yaml (and run an implicit flutter pub get):

    dependencies:
      ap_flutter_kit: ^0.2.3

    Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

  2. Import it:

    Now in your Dart code, you can use:

    import 'package:ap_flutter_kit/ap_flutter_kit.dart';

B: Usage:

You must call ApFlutterKit.ping() method in your ad’s onAdImpression() callback.

Example:

onAdImpression: (Ad ad) {
	ApFlutterKit.ping(context, ad.adUnitId, ad.responseInfo?.responseId);
}

GitHub

View Github

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Deja una respuesta

Entrada anterior A Flutter project to collect and manage words for crossword like games with clean architecture using bloc pattern
Entrada siguiente Covid-19 App Built with Flutter