Skip to content

Commit 3409a36

Browse files
Update index.mdx
1 parent c5072fe commit 3409a36

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ If you encounter any data not being redacted with the default settings, please l
9595
To disable redaction altogether (not to be used on applications with sensitive data):
9696

9797
```javascript {tabTitle:Mobile}
98-
// You can pass options to the mobileReplayIntegration function during init:
9998
integrations: [
99+
// You can pass options to the mobileReplayIntegration function during init:
100100
Sentry.mobileReplayIntegration({
101101
maskAllText: false,
102102
maskAllImages: false,
@@ -106,14 +106,15 @@ integrations: [
106106
```
107107

108108
```javascript {tabTitle:Browser}
109-
// You can pass options to the browserReplayIntegration function during init:
110109
integrations: (integrations) => {
111110
if (Platform.OS === 'web') {
111+
// You can pass options to the browserReplayIntegration function during init:
112112
integrations.push(Sentry.browserReplayIntegration({
113113
maskAllText: true,
114114
maskAllInputs: true,
115115
}));
116116
}
117+
// You can pass options to the mobileReplayIntegration function during init:
117118
integrations.push(Sentry.mobileReplayIntegration({
118119
maskAllText: false,
119120
maskAllImages: false,

0 commit comments

Comments
 (0)