You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: platform-includes/replay/privacy-configuration/dart.flutter.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,13 @@ For example, you can explicitly mask or unmask widgets by type,
17
17
or you can even have a callback to decide whether a specific widget instance should be masked:
18
18
19
19
```dart
20
-
options.privacy.mask<IconButton>();
21
-
options.privacy.unmask<Image>();
22
-
options.privacy.maskCallback<Text>(
23
-
(Element element, Text widget) =>
24
-
(widget.data?.contains('secret') ?? false)
25
-
? SentryMaskingDecision.mask
26
-
: SentryMaskingDecision.continueProcessing);
20
+
options.privacy.mask<IconButton>();
21
+
options.privacy.unmask<Image>();
22
+
options.privacy.maskCallback<Text>(
23
+
(Element element, Text widget) =>
24
+
(widget.data?.contains('secret') ?? false)
25
+
? SentryMaskingDecision.mask
26
+
: SentryMaskingDecision.continueProcessing);
27
27
```
28
28
29
29
### `maskAllText`
@@ -53,6 +53,6 @@ If you find that data isn't being masked with the default settings, please let u
53
53
To disable masking for <PlatformLinkto="/enriching-events/screenshots/">`Screenshots`</PlatformLink> and <PlatformLinkto="/session-replay/">`Session Replay`</PlatformLink> (not to be used on applications with sensitive data):
0 commit comments