init call.
Install
The SDK resolves from Maven Central. Most Android projects already havegoogle() and mavenCentral() in their repositories — if so, skip straight to the dependency. JitPack stays available as a fallback for versions published before Maven Central.
Requires
minSdk 21 or higher. No manifest changes needed.Initialize
1
Call init from Application.onCreate
One call starts recording and wires tap capture, screen detection, crash handling, and performance monitoring.
2
Register the Application class
Point
android:name at your Application subclass in AndroidManifest.xml.3
Identify users and track events (optional)
"picture" (alias "avatar") entry set to a public https image URL sets the user’s avatar shown on the recording header and Users list; non-URL values are ignored.Verify
Reload the app and foreground it. Your first session appears in the Replayfy dashboard within a few seconds. Wire
addVerificationListener to fire a callback after the first successful upload for an in-app “Verify integration” flow.Configuration
OnlyapiKey and apiHost are required; every other option has a sensible default. Pass overrides through ReplayConfig.
API reference
All methods are exposed on theReplay singleton and are static-callable from Kotlin and Java.
Identity & events
Error monitoring
Screen tracking
Exclusion is distinct from
occludeSensitiveScreen(true) — that keeps recording but blanks the frame, whereas an excluded screen captures no frames at all. Seed the list at init, or manage it at runtime:
Text input tracking
Network capture
Add the interceptor to your OkHttp client. WhencaptureNetwork is off, it passes through with zero overhead.
Session control
Privacy & masking
All masking happens on-device before anything is uploaded. Password fields are masked automatically; everything else is opt-in.Identify users
Attach known-user identities so anonymous sessions link retroactively.
Track events
Fire custom events that power funnels, retention, and filters.
Privacy & masking
Redact sensitive views and inputs before anything leaves the device.