-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(apple): Replay Redact #11418
base: master
Are you sure you want to change the base?
feat(apple): Replay Redact #11418
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just have some minor nitpicks on grammar & small question about using ignoreView
without disabling the default
docs/platforms/apple/guides/ios/session-replay/customredact.mdx
Outdated
Show resolved
Hide resolved
docs/platforms/apple/guides/ios/session-replay/customredact.mdx
Outdated
Show resolved
Hide resolved
Bundle ReportChanges will increase total bundle size by 14.09MB (99.79%) ⬆️
ℹ️ *Bundle size includes cached data from a previous commit |
@brustolin please rebase this on master, then the pr should be un-blocked! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this! I left a few edits, but overall it looks great.
@@ -0,0 +1,66 @@ | |||
--- | |||
title: Using custom redact for Session Replay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: Using custom redact for Session Replay | |
title: Using Custom Redact for Session Replay |
title: Using custom redact for Session Replay | ||
sidebar_order: 5501 | ||
notSupported: | ||
description: "Learn how to choose which part of your app's data to redact in Session Replay." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: "Learn how to choose which part of your app's data to redact in Session Replay." | |
description: "Learn how to redact parts of your app's data in Session Replay." |
<Note> | ||
|
||
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. | ||
|
||
</Note> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Note> | |
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. | |
</Note> | |
<Alert> | |
If you custom redact your Session Replays, you may accidentally expose sensitive customer data. Be sure to double-check what you choose to expose. | |
</Alert> |
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. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. | |
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. | |
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. | ||
|
||
|
||
## Redact by View class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Redact by View class | |
## Redact by View Class |
options.experimental.sessionReplay.ignoreViewClasses = [MyCustomLabel.self] | ||
``` | ||
|
||
## Redact View by instance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Redact View by instance | |
## Redact by View Instance |
|
||
## Redact View by instance | ||
|
||
You can also choose to redact or ignore a specific view instance by using the replay API or view extensions like this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also choose to redact or ignore a specific view instance by using the replay API or view extensions like this: | |
You can also choose to redact or ignore a specific view instance by using the [replay API](/api/replays/) or view extensions like this: |
options.experimental.sessionReplay.redactAllImages = false | ||
``` | ||
|
||
Then you can manually choose which `View` you want to redact with the `replayRedact` modifier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then you can manually choose which `View` you want to redact with the `replayRedact` modifier | |
Then you can manually choose which `View` you want to redact with the `replayRedact` modifier: |
<Note> | ||
Dissabling the default redaction options will expose all text and images in the session replay. | ||
Make sure to redact them manually. | ||
</Note> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Note> | |
Dissabling the default redaction options will expose all text and images in the session replay. | |
Make sure to redact them manually. | |
</Note> | |
<Note> | |
Disabling the default redaction options will expose all text and images in the session replay. | |
Make sure to redact them manually. | |
</Note> |
The SDK is recording and aggressively redacting all text and images. | ||
Please don't turn it off if you have sensitive data in your app. | ||
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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SDK is recording and aggressively redacting all text and images. | |
Please don't turn it off if you have sensitive data in your app. | |
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). | |
The SDK aggressively records and redacts all text and images. | |
Please don't turn it off if you have sensitive data in your app. | |
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). |
Adding instructions on how to use custom redact APIs for Apple SDK.