Skip to main content
SDKsAndroid

Overview

Install and use the official MotiSig Android SDK (Kotlin, FCM).

Kotlin Android library for MotiSig AI: user lifecycle, tags and attributes, events, FCM push subscriptions (token + permission + customer-enabled flag), notification listeners, and click tracking.

Requirements

  • minSdk 21
  • Firebase Messaging on the host app (implementation("com.google.firebase:firebase-messaging:24.1.0") or compatible).

Install (Maven Central)

Add the SDK and Firebase Messaging to your app module:

repositories {
    google()
    mavenCentral()
}

dependencies {
    implementation("ai.motisig:motisig:1.0.1")
    implementation("com.google.firebase:firebase-messaging:24.1.0")
}

Adjust the version requirement to match the release tag you pin.

Include the SDK

  1. Add the dependency above (or, for local development, add the :motisig module from the SDK repository).
  2. Register MotiSigFirebaseMessagingService (or a subclass) in AndroidManifest.xml.
  3. Call MotiSig.initialize(...) from Application.onCreate().

See Getting started for the full checklist (manifest, intent forwarding, delivered notifications).

Guides

Example project

examples/motisig-android-example — open in Android Studio; see that folder’s README for google-services.json and local env (BuildConfig).

Cross-platform

For Expo and React Native, use the Expo SDK. For iOS, see the iOS SDK. For HTTP-only details, see the client API.