Skip to content

Commit 81008d5

Browse files
committed
Add old way of disabling redaction
1 parent 0ba684d commit 81008d5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/platforms/android/session-replay/index.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ To disable masking altogether (not to be used on applications with sensitive dat
108108
```kotlin
109109
options.experimental.sessionReplay.maskAllText = false
110110
options.experimental.sessionReplay.maskAllImages = false
111+
// if you're on version < 7.15.0
112+
// options.experimental.sessionReplay.redactAllText = false
113+
// options.experimental.sessionReplay.redactAllImages = false
111114
```
112115

113116
## Error Linking

docs/platforms/android/session-replay/privacy/index.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ To disable the default masking behavior (not to be used on applications with sen
1919
```kotlin
2020
options.experimental.sessionReplay.maskAllText = false
2121
options.experimental.sessionReplay.maskAllImages = false
22+
// if you're on version < 7.15.0
23+
// options.experimental.sessionReplay.redactAllText = false
24+
// options.experimental.sessionReplay.redactAllImages = false
2225
```
2326

2427
|Session Replay Unmasked | Session Replay Masked |
@@ -101,7 +104,7 @@ view.sentryReplayUnmask()
101104

102105
## Jetpack Compose
103106

104-
We only support masking specific composables in Jetpack Compose. Since composables are functions, not classes, masking by view class isn't possible.
107+
We only support masking specific composables in Jetpack Compose. Since composables are functions, not classes, masking by view class isn't possible.
105108

106109
In the example below, we want the "Hello" message to be captured in the replay, but not the custom composable. (By default, all text composables are masked.)
107110

@@ -142,7 +145,7 @@ AndroidView(
142145

143146
- If a `ViewGroup` is marked as unmasked, **its child views don't automatically inherit this behavior**. You'll need to explicitly mark each child view as unmasked if you want them to appear in the replay.
144147

145-
### Masking Priority
148+
### Masking Priority
146149

147150
Masking and unmasking rules are applied in the following order:
148151

0 commit comments

Comments
 (0)