Android SDK v6

Prev Next

Overview

This page provides an overview of the setup and integration process for the Mapp Engage Android SDK v6.

Android SDK v6 is a legacy version. For new implementations, we recommend using Android SDK v7. This documentation is intended for maintaining or updating existing v6 integrations.

Before integrating SDK-specific features, ensure that your Android project is properly configured (see Getting Started). Follow the recommended flow below to successfully integrate and configure the SDK in your application.


Prerequisites

Ensure your development environment meets the following requirements:

  • Push Messaging

    The Android SDK uses Firebase Cloud Messaging (FCM) for push notifications. Older Google Cloud Messaging (GCM) integrations are no longer supported.

  • JDK Version

    The required Java version depends on your SDK version:

    • From SDK version 6.0.22: Java 17 is required

    • From SDK version 6.0.18-rc02: Java 11 is required

    Ensure your project is configured accordingly.

    Configure your Android project to use the required JDK version for this SDK (for example via Gradle Java toolchain or compileOptions).


Recommended Setup Flow

Before initializing the SDK, complete the required Android project setup described in the Getting Started section.

  1. Complete Android project setup (see Getting Started)

  2. Initialize the SDK

  3. Configure in-app messaging (see In-App SDK Integration) (optional)

  4. Implement custom triggers if required (see Custom Event Triggers) (optional)

  5. Use the SDK APIs (see Android SDK v6 Developer Guide or API Reference)