Initializing the SDK

Adspostx partners can use the Android SDK to display overlay or embedded placements. The Android SDK is deployed using Maven and Gradle.

All use cases of the SDK follow the same initial steps to integrate and initialize the SDK. At a high level, these steps are:

  1. Add the Adspostx Android SDK module

  2. Initialize the Adspostx Android SDK

Following these steps, the execute method of the SDK can then be used in various ways to suit the required use case.

Before you begin

This guide assumes that you are familiar with Gradle and know how to install a plugin for Android development.

Initialize Flutter SDK

Adspostx partners can use the Android SDK to display overlay or embedded placements. The Android SDK is deployed using Maven and Gradle. All use cases of the SDK follow the same initial steps to integrate and initialize the SDK. At a high level, these steps are:

Add the Adspostx Flutter package Initialize the Adspostx Following these steps, the execute method of the SDK can then be used in various ways to suit the required use case.

Getting started

dependencies:
  adspostx: _latest_version

Now in your Dart code, you can use:

import 'package:adspostx/adspostx.dart';

Usage

Adspostx.show(context: context);

Last updated