Skip to content

Commit 5d69797

Browse files
authored
android replay not experimental (#12250)
1 parent 9326778 commit 5d69797

File tree

1 file changed

+7
-10
lines changed
  • docs/platforms/android/session-replay/privacy

1 file changed

+7
-10
lines changed

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ By default, our Session Replay SDK masks all text content, images, webviews, and
1717
To disable the default masking behavior (not to be used on applications with sensitive data):
1818

1919
```kotlin
20-
options.experimental.sessionReplay.maskAllText = false
21-
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
20+
options.sessionReplay.maskAllText = false
21+
options.sessionReplay.maskAllImages = false
2522
```
2623

2724
```XML {filename:AndroidManifest.xml}
@@ -34,7 +31,7 @@ options.experimental.sessionReplay.maskAllImages = false
3431
|![session replay unmasked](./img/session-replay.jpg) |![session replay masked](./img/session-replay-redacted.jpg) |
3532

3633

37-
_Make sure your Sentry Android SDK version is at least 7.15.0._
34+
_Make sure your Sentry Android SDK version is at least 7.20.0._
3835

3936
## Mask by View Class
4037

@@ -47,8 +44,8 @@ Let's say you have:
4744
You can set the options like this:
4845

4946
```kotlin
50-
options.experimental.sessionReplay.addMaskViewClass("com.example.MyCustomView")
51-
options.experimental.sessionReplay.addUnmaskViewClass("com.example.MyCustomTextView")
47+
options.sessionReplay.addMaskViewClass("com.example.MyCustomView")
48+
options.sessionReplay.addUnmaskViewClass("com.example.MyCustomTextView")
5249
```
5350

5451
<Note>
@@ -62,8 +59,8 @@ If you're using a code obfuscation tool (R8/ProGuard), adjust your proguard rule
6259
The masking behavior applies to classes and their subclasses. This means if you add a view via `addMaskViewClass` (for example, `TextView`, which is the default behavior), its respective subclasses (`RadioButton`, `CheckBox`, `EditText`, and so on) will also be masked. For example, you can do the following:
6360

6461
```kotlin
65-
options.experimental.sessionReplay.addMaskViewClass("android.widget.TextView") // mask TextView and all its subclasses
66-
options.experimental.sessionReplay.addUnmaskViewClass("android.widget.RadioButton") // but unmask RadioButton and all its subclasses
62+
options.sessionReplay.addMaskViewClass("android.widget.TextView") // mask TextView and all its subclasses
63+
options.sessionReplay.addUnmaskViewClass("android.widget.RadioButton") // but unmask RadioButton and all its subclasses
6764
```
6865

6966
## Mask by View Instance

0 commit comments

Comments
 (0)