|
1 | 1 | ## Privacy |
2 | 2 |
|
| 3 | +<Alert level="warning"> |
| 4 | + Setting these parameter will affect `masking` for{" "} |
| 5 | + <PlatformLink to="/enriching-events/screenshots/">`Screenshots`</PlatformLink>{" "} |
| 6 | + and <PlatformLink to="/session-replay/">`Session Replay`</PlatformLink>. |
| 7 | +</Alert> |
3 | 8 | <Note> |
4 | | - |
5 | | -Setting these parameter will affect `masking` for `screenshot` and `session replay`. |
6 | | - |
| 9 | + By default, `masking` is disabled for{" "} |
| 10 | + <PlatformLink to="/enriching-events/screenshots/">`Screenshots`</PlatformLink>{" "} |
| 11 | + and enabled for{" "} |
| 12 | + <PlatformLink to="/session-replay/">`Session Replay`</PlatformLink> |
7 | 13 | </Note> |
8 | 14 |
|
9 | | -###### By default, `masking` is disabled for `screenshot` and enabled for `session replay`. |
10 | | - |
11 | | -By default, for `session replay` the SDK is recording and aggressively redacting (masking) all `Text`, `EditableText`, and `Image` widgets. |
| 15 | +By default, the SDK is recording and aggressively redacting (masking) all `Text`, `EditableText`, and `Image` widgets for <PlatformLink to="/session-replay/">`Session Replay`</PlatformLink>. |
12 | 16 | Masking in the Sentry Flutter SDK is based on Widget _types_, e.g. `Image`, not the string representation of the type (i.e. we check whether |
13 | 17 | a `widgetInstance` should be masked by checking `if (widgetInstance is Image)` instead of `if (widgetInstance.runtimeType == 'Image')`). |
14 | 18 | This means we can ensure masking works regardless of obfuscation in release builds and also works for subclasses. |
@@ -61,7 +65,7 @@ If you find that data isn't being masked with the default settings, please let u |
61 | 65 |
|
62 | 66 | </Note> |
63 | 67 |
|
64 | | -To disable masking for `screenshot` and `session replay` (not to be used on applications with sensitive data): |
| 68 | +To disable masking for <PlatformLink to="/enriching-events/screenshots/">`Screenshots`</PlatformLink> and <PlatformLink to="/session-replay/">`Session Replay`</PlatformLink> (not to be used on applications with sensitive data): |
65 | 69 |
|
66 | 70 | ```dart |
67 | 71 | options.experimental.privacy.maskAllText = false; |
|
0 commit comments