Skip to main content
Version: 1.x (latest)

Coryn AI Android SDK

The Coryn AI Android SDK lets you integrate session replay and state tracking into any existing Android application with minimal setup. Once initialised, the SDK records user sessions — including UI captures, touch interactions, navigation screens, custom application states, and runtime diagnostics — and streams them to the Coryn AI Dashboard for playback and analysis.

What the SDK captures​

FeatureDescription
UI CapturesVisual snapshots of your app's screens during a session
ScreensScreen-level navigation events (Activities, Fragments, Composables)
StatesCustom data snapshots attached to the current session timeline
EventsOne-time captures for user actions or business metrics
TouchesUser interaction coordinates recorded alongside the session
Runtime contextDisplay config, CPU/heap/RAM, network, keyboard inset, jank, freezes, and more — captured automatically
ErrorsCrashes, native crashes, and ANRs (native crashes and ANRs on Android 11+)

SDK modules​

The SDK is split into focused modules so you only include what you need:

ArtifactPurpose
coreAPI interfaces only — no session recorder. Use in debug builds.
recorderSession recorder for XML View-based apps. Includes core.
recorder-composeSession recorder with Jetpack Compose support. Includes recorder and core.
state-serialization:gsonOptional. CorynStateMap backed by Gson.
state-serialization:moshiOptional. CorynStateMap backed by Moshi.
log-viewerOptional. Adds the in-app Log Viewer to any build variant.

Minimum requirements​

RequirementSupported
minSdk23+
compileSdk35+
Android Gradle Plugin8.5+
Kotlin2.1+
Composeminimum 1.8.0 (BOM 2025.04.01); recommended 1.9.3 (BOM 2025.10.00) or newer
Java/JVM target8
Compose version

Minimum required Compose is 1.8.0 (BOM 2025.04.01). We recommend Compose 1.9.3 (BOM 2025.10.00) or newer. Earlier Compose versions had known issues reporting coordinate changes for underlying Composables when a moving layout had more than 170 descendants — important for privacy masking.

Next steps​

Head to Installation to add the SDK dependencies, then follow Initialisation to configure the SDK and start recording.