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.
- Source: github.com/MotiSig-Public/android-motisig-sdk
- Networking:
HttpURLConnection+org.json(no OkHttp/Retrofit/Gson in the SDK). - FCM:
compileOnlyin the SDK; your app addsfirebase-messaging.
Requirements
minSdk 21- Firebase Messaging on the host app (
implementation("com.google.firebase:firebase-messaging:24.x.x")or similar).
Include the SDK
- Add the
:motisigmodule from this repository (or consume a published Maven artifact when available). - Register
MotiSigFirebaseMessagingService(or a subclass) inAndroidManifest.xml. - Call
MotiSig.initialize(...)fromApplication.onCreate().
See Getting started for the full checklist (manifest, intent forwarding, delivered notifications).
Guides
- Getting started — lifecycle, FCM service, activity intents
- Configuration — keys, base URL, log level,
reset, env vars
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.