Commit 110023e
docs(react-native): Document screenshot masking options (#17362)
## DESCRIBE YOUR PR
Documents the new `screenshot` options for error screenshot masking on
Android and iOS in the React Native SDK.
**New options documented:**
- `screenshot.maskAllText` / `screenshot.maskAllImages` — toggle
automatic masking of text and images
- `screenshot.maskedViewClasses` / `screenshot.unmaskedViewClasses` —
mask or unmask specific native view classes
**Changes:**
- Updated the screenshots platform include (`react-native.mdx`) with a
"Screenshot Masking" section showing configuration examples
- Added the `screenshot` option to the React Native configuration
options reference page
Companion SDK PR:
getsentry/sentry-react-native#6007
Resolves: getsentry/sentry-react-native#5763
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.)
- [ ] Other deadline
- [x] None: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] 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](https://github.com/orgs/getsentry/teams/docs)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 849e899 commit 110023e
2 files changed
Lines changed: 45 additions & 0 deletions
File tree
- docs/platforms/react-native/configuration
- platform-includes/enriching-events/attach-screenshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
156 | 173 | | |
157 | 174 | | |
158 | 175 | | |
| |||
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
0 commit comments