Android SDK 1.4.0

Get started with Unilitix

Add session recording, rage tap detection, crash tracking, and network analytics to your Android app in under 5 minutes.

build.gradle (app)
implementation 'com.github.Unilitix-hq:unilitix-android:1.4.0'

Step-by-step integration

1

Add JitPack to your repositories

Open settings.gradle in your project root and add the JitPack repository.

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}
2

Add the SDK dependency

Open your app-level build.gradle and add the implementation line inside dependencies {}.

dependencies {
    // ... your existing dependencies

    implementation 'com.github.Unilitix-hq:unilitix-android:1.4.0'
}
3

Get your API key

Log into your Unilitix dashboard, open your app, and copy the API key from the Settings → Data Capture tab.

Open Dashboard →
4

Initialize the SDK

Call Unilitix.init() once in your Application class onCreate(). Replace "YOUR_API_KEY" with the key from Step 3.

import com.unilitix.android.Unilitix

class MyApp : Application() {
    override fun onCreate() {
        super.onCreate()

        Unilitix.init(
            context = this,
            apiKey  = "YOUR_API_KEY"
        )
    }
}

// Don't forget to register in AndroidManifest.xml:
// <application android:name=".MyApp" ...>

Optional features

Enrich your analytics with user identity and custom events.

👤

Identify users

Associate sessions with a user ID and custom traits for filtered analytics and user-level replays.

Unilitix.getInstance().identify(
    userId = "user_123",
    traits = mapOf(
        "email" to "user@example.com",
        "name"  to "Ada Okafor",
        "plan"  to "pro"
    )
)

Track custom events

Send custom events with properties to power funnels, retention cohorts, and event analytics.

Unilitix.getInstance().track(
    event      = "checkout_started",
    properties = mapOf(
        "amount"   to 2500,
        "currency" to "NGN",
        "method"   to "card"
    )
)

Automatic instrumentation

The SDK tracks these out of the box — no extra code needed.

🎬
Session recording
Full touch-based replays with privacy masking for sensitive fields.
🗺
Screen flows
Automatic screen transition tracking and Sankey flow visualisation.
👊
Rage tap detection
Flags frustrated taps in real time so you can fix broken UI fast.
🐛
Crash tracking
Uncaught exceptions and ANRs captured with full stack traces.
📶
Network quality
Latency, packet loss, and request failures per endpoint.
🔋
Power outage events
Detects sudden power loss and correlates it with session drop-offs.
🌍 Africa-first

Built for African apps

USSD flow analytics, WhatsApp funnel tracking, power outage detection, and offline session recovery — features no other analytics tool provides. Engineered for low-bandwidth networks, variable power, and the channels African users actually use.