getsentry / getsentry/sentry-react-native

[Feature Request] View masking previews

Open
#4,367 4 comments 2 reactions 0 assignees View on GitHub
Explore > Replays Feature React-Native Replays
Dominant language
TypeScript
Stars
1.8k
Forks
366
Avg merge
1d 9h
Merged PRs (30d)
89

Description

### Problem Statement

I am integrating Session Replay in a React native based app with some custom masking rules. Each time I need to check how the view is masked, I have to run the app, wait for the session to appear on sentry, scroll the video to find my target screen and finally check the masking. Repeat until I've got it right.

This is very tedious to do and is error-prone.

### Solution Brainstorm

Add a `SentryMaskPreview` component that can be used to render a masked child component. We can then rely on hot-reload to get a quick feedback loop when implementing custom masking logic.

---

The iOS native feature request:
[https://github.com/getsentry/sentry-cocoa/issues/4633]()

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.