Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion docs/platforms/android/session-replay/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,20 @@ Recording only happens on Android 8 (API level 26) or newer. For devices running

An issue may be missing a replay because the user's device was [offline](/product/explore/session-replay/mobile#frequently-asked-questions) while `sessionSampleRate` was specified, your project/organization was rate-limited, or (in rare cases) the device failed to capture the replay video.

</Expandable>
</Expandable>

<Expandable title="How can I debug which UI elements are being masked?" permalink>

You can enable a debug overlay that highlights which UI widgets are masked. Call `Sentry.replay().enableDebugMaskingOverlay()` to turn the overlay on and `Sentry.replay().disableDebugMaskingOverlay()` to turn it off. These methods must be called after the SDK is initialized. The masks will be invalidated at most once per frame rate (default 1 fps).

<Alert>

Do not use the debug masking overlay in production. It is intended only for local testing purposes.

</Alert>

```kotlin
Sentry.replay().enableDebugMaskingOverlay()
```

</Expandable>