From 293108947ad97ca3f1134f7c45eebaa56936cab1 Mon Sep 17 00:00:00 2001 From: Krystof Woldrich <31292499+krystofwoldrich@users.noreply.github.com> Date: Thu, 22 May 2025 13:36:40 +0200 Subject: [PATCH 1/2] Add SR RN native manual init warning --- docs/platforms/react-native/session-replay/index.mdx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/platforms/react-native/session-replay/index.mdx b/docs/platforms/react-native/session-replay/index.mdx index f576b51e0cb0e..1701ff1a2eb35 100644 --- a/docs/platforms/react-native/session-replay/index.mdx +++ b/docs/platforms/react-native/session-replay/index.mdx @@ -87,9 +87,10 @@ Sampling begins as soon as a session starts. + +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). @@ -125,6 +126,12 @@ integrations: (integrations) => { } ``` + + +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). + + + ## React Component Names Sentry helps you capture your React components and unlock additional insights in your application. You can set it up to use React component names. From 993657f087401eccc002b2ade338f67fedee8274 Mon Sep 17 00:00:00 2001 From: Krystof Woldrich <31292499+krystofwoldrich@users.noreply.github.com> Date: Thu, 22 May 2025 14:00:54 +0200 Subject: [PATCH 2/2] Update index.mdx --- .../platforms/react-native/session-replay/privacy/index.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/platforms/react-native/session-replay/privacy/index.mdx b/docs/platforms/react-native/session-replay/privacy/index.mdx index 429819b8c1beb..4ac34ff806c19 100644 --- a/docs/platforms/react-native/session-replay/privacy/index.mdx +++ b/docs/platforms/react-native/session-replay/privacy/index.mdx @@ -25,6 +25,12 @@ Sentry.mobileReplayIntegration({ _Make sure your Sentry React Native SDK version is 5.36.0, 6.3.0 and up_ + + +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). + + + ## Mask and Unmask Components You can choose which views you want to mask or unmask by using the `Mask` or `Unmask` components.