Skip to content
Open
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: 18 additions & 0 deletions docs/platforms/react-native/session-replay/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,24 @@ integrations: [
]
```

## SurfaceView Capture (Android only)

By default, content rendered inside `SurfaceView` components (e.g. video players, map SDKs) appears as black or transparent regions in Session Replay. You can enable `captureSurfaceViews` to include this content in recordings.

<Alert level="warning">

This option is **experimental**. Masking granularity is at the `SurfaceView` level only — individual elements inside a `SurfaceView` cannot be masked separately. Only works with the `pixelCopy` screenshot strategy (the default). See the [Android SurfaceView Capture docs](/platforms/android/session-replay/#surfaceview-capture) for more details.

</Alert>

```javascript {tabTitle:Mobile}
integrations: [
Sentry.mobileReplayIntegration({
captureSurfaceViews: true,
}),
]
```

## React Component Names

Sentry helps you capture your React components and unlock additional insights in your application. You can set it up to use React component names.
Expand Down
Loading