Skip to content

Commit f9b2d64

Browse files
brustolinlizokm
andauthored
Apply suggestions from code review
Co-authored-by: Liza Mock <[email protected]>
1 parent dd5d568 commit f9b2d64

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

docs/platforms/apple/guides/ios/session-replay/customredact.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
---
2-
title: Using custom redact for Session Replay
2+
title: Using Custom Redact for Session Replay
33
sidebar_order: 5501
44
notSupported:
5-
description: "Learn how to choose which part of your app's data to redact in Session Replay."
5+
description: "Learn how to redact parts of your app's data in Session Replay."
66
---
77

8-
<Note>
8+
<Alert>
99

10-
Using custom redaction for Session Replay can expose sensitive data. Make sure to double-check every part of your app's data that you choose to redact or not.
10+
If you custom redact your Session Replays, you may accidentally expose sensitive customer data. Be sure to double-check what you choose to expose.
1111

12-
</Note>
12+
</Alert>
1313

14-
By default, our Session Replay SDK masks all text content, images, and user input, giving you heightened confidence that no sensitive data will leave the device. However, you can choose which parts of your app's data to redact or not by using some different options.
14+
By default, our Session Replay SDK masks all text content, images, and user input. This helps ensure that no sensitive data will be exposed. You can also manually choose which parts of your app's data to redact by using the different options listed below.
1515

1616

17-
## Redact by View class
17+
## Redact by View Class
1818

1919
You can choose which type of view you want to redact or ignore by using the `redactViewClasses` or `ignoreViewClasses` options.
2020

21-
Let's say you have a custom view that you want to redact and a UILabel subclass (which normally would be redacted) that you want to ignore. You can set the options like this:
21+
Let's say you have a custom view that you want to redact and a `UILabel` subclass (which normally would be redacted) that you want to ignore. You can set the options like this:
2222

2323
```swift
2424
options.experimental.sessionReplay.redactViewClasses = [MyCustomView.self]
2525
options.experimental.sessionReplay.ignoreViewClasses = [MyCustomLabel.self]
2626
```
2727

28-
## Redact View by instance
28+
## Redact by View Instance
2929

30-
You can also choose to redact or ignore a specific view instance by using the replay API or view extensions like this:
30+
You can also choose to redact or ignore a specific view instance by using the [replay API](/api/replays/) or view extensions like this:
3131

3232
```swift
3333
SentrySDK.replay.redactView(view: view)
@@ -50,7 +50,7 @@ In order to control the SwiftUI redact process, you first need to disable the de
5050
options.experimental.sessionReplay.redactAllImages = false
5151
```
5252

53-
Then you can manually choose which `View` you want to redact with the `replayRedact` modifier
53+
Then you can manually choose which `View` you want to redact with the `replayRedact` modifier:
5454

5555
```swift
5656
var body: some View {
@@ -60,7 +60,7 @@ Then you can manually choose which `View` you want to redact with the `replayRed
6060
```
6161

6262
<Note>
63-
Dissabling the default redaction options will expose all text and images in the session replay.
63+
Disabling the default redaction options will expose all text and images in the session replay.
6464
Make sure to redact them manually.
6565
</Note>
6666

docs/platforms/apple/guides/ios/session-replay/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ Sampling begins as soon as a session starts. `sessionSampleRate` is evaluated fi
7373

7474
## Privacy
7575

76-
The SDK is recording and aggressively redacting all text and images.
76+
The SDK aggressively records and redacts all text and images.
7777
Please don't turn it off if you have sensitive data in your app.
78-
If you want to manually choose which part of your app's data to redact, read our guide on [custom redaction](/platforms/apple/guides/ios/session-replay/customredact).
78+
If you want to manually redact parts of your app's data, read our guide on [custom redaction](/platforms/apple/guides/ios/session-replay/customredact).
7979

8080
<Note>
8181

0 commit comments

Comments
 (0)