Skip to content

Commit 2931089

Browse files
Add SR RN native manual init warning
1 parent be19317 commit 2931089

File tree

1 file changed

+9
-2
lines changed
  • docs/platforms/react-native/session-replay

1 file changed

+9
-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.

0 commit comments

Comments
 (0)