Skip to content

feat(react-native): Document per-class Session Replay masking - #19433

Open
antonis wants to merge 1 commit into
masterfrom
antonis/react-native-replay-view-class-masking
Open

antonis wants to merge 1 commit into
masterfrom
antonis/react-native-replay-view-class-masking

Conversation

@antonis

@antonis antonis commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

⚠️ Should be merged after getsentry/sentry-react-native#6725 is shipped

Documents the new per-class Session Replay masking options, maskedViewClasses and unmaskedViewClasses, on mobileReplayIntegration for React Native. These let you mask or unmask views by their native view class name when you can't wrap them with the Mask / Unmask components (e.g. views from a third-party library).

Adds a "Mask and Unmask by View Class" section to the React Native Session Replay privacy page, covering:

  • what the options do and how they interact with the maskAll* defaults
  • the native (iOS/Android) class-name distinction, with a copy-pasteable example
  • precedence (unmaskedViewClasses over maskAll*; an explicit Mask still wins)
  • guidance to use the Mask/Unmask components for subtree-wide control

Corresponding SDK change: getsentry/sentry-react-native#6725 (targets SDK v8.27.0).

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

LEGAL BOILERPLATE

EXTRA RESOURCES

Document `maskedViewClasses` / `unmaskedViewClasses` on
`mobileReplayIntegration`, added in sentry-react-native #6725.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Sep 15, 2026 12:36pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Sep 15, 2026 12:36pm UTC

Request Review

@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Sep 15, 2026
@codeowner-assignment
codeowner-assignment Bot requested a review from a team September 15, 2026 12:30

## Mask and Unmask by View Class

_Supported in React Native SDK v8.27.0 and later_

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ The version should be update it if it ships in a later release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant