Skip to content

Commit 58ef7d2

Browse files
Add SR RN native manual init warning (#13805)
1 parent be19317 commit 58ef7d2

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

docs/platforms/react-native/session-replay/index.mdx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ Sampling begins as soon as a session starts. <PlatformIdentifier name="replays-s
8787
The SDK is recording and aggressively masking all text, images, and webviews by default. If your app has any sensitive data, you should only turn the default masking off after explicitly masking out any sensitive data, using the APIs described below.
8888
However, if you're working on a mobile app that doesn't contain any PII or private data, you can opt out of the default text and image-masking settings. To learn more about Session Replay privacy, [read our docs](/platforms/react-native/session-replay/privacy/).
8989

90-
<Alert>
9190

92-
If you encounter any data not being redacted with the default settings, please let us know through a [GitHub issue](https://github.com/getsentry/sentry-react-native/issues/new?assignees=&labels=Platform%3A+React-Native%2CType%3A+%F0%9F%AA%B2+Bug&projects=&template=BUG_REPORT.md).
91+
<Alert level="warning">
92+
93+
If you are manually initializing native SDKs before JS, the React Native text and images won't be automatically masked. For the current state of this issue and example workaround, please see [GH-4853](https://github.com/getsentry/sentry-react-native/issues/4853).
9394

9495
</Alert>
9596

@@ -125,6 +126,12 @@ integrations: (integrations) => {
125126
}
126127
```
127128

129+
<Alert>
130+
131+
If you encounter any data not being redacted with the default settings, please let us know through a [GitHub issue](https://github.com/getsentry/sentry-react-native/issues/new?assignees=&labels=Platform%3A+React-Native%2CType%3A+%F0%9F%AA%B2+Bug&projects=&template=BUG_REPORT.md).
132+
133+
</Alert>
134+
128135
## React Component Names
129136

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

docs/platforms/react-native/session-replay/privacy/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ Sentry.mobileReplayIntegration({
2525

2626
_Make sure your Sentry React Native SDK version is 5.36.0, 6.3.0 and up_
2727

28+
<Alert level="warning">
29+
30+
If you are manually initializing native SDKs before JS, the React Native text and images won't be automatically masked. For the current state of this issue and example workaround, please see [GH-4853](https://github.com/getsentry/sentry-react-native/issues/4853).
31+
32+
</Alert>
33+
2834
## Mask and Unmask Components
2935

3036
You can choose which views you want to mask or unmask by using the `Mask` or `Unmask` components.

0 commit comments

Comments
 (0)