Android session replay installation
Add the PostHog Android SDK to your Session replay requires PostHog Android SDK version 3.4.0 or higher. We recommend always using the latest version. Go to your PostHog Project Settings and enable Record user sessions. Session recordings will not work without this setting enabled. Add For more configuration options, see the Android session replay docs. Requires Android API 26 or higher. Jetpack Compose is only supported if Visit your site or app and interact with it for at least 10 seconds to generate a recording. Navigate between pages, click buttons, and fill out forms to capture meaningful interactions. Now that you're recording sessions, continue with the resources below to learn what else Session Replay enables within the PostHog platform.Install the dependency
Requiredbuild.gradle dependencies:Enable session recordings in project settings
RequiredConfigure PostHog with session replay
RequiredsessionReplay = true to your PostHog configuration. Here are all the available options:screenshot is enabled.Watch session recordings
RecommendedNext steps
RecommendedResource Description Watching recordings How to find and watch session recordings Privacy controls How to mask sensitive data in recordings Network recording How to capture network requests in recordings Console log recording How to capture console logs in recordings More tutorials Other real-world examples and use cases