-
-
Notifications
You must be signed in to change notification settings - Fork 371
fix: Session replay redact view with transformation #4308
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
c57613f
wip
brustolin 8459cc9
test in progress
brustolin 364cb77
fix: Session Replay redact for transformed views
brustolin 0bcb7df
Update CHANGELOG.md
brustolin 15f94cd
ref
brustolin c1fa693
Update SentryViewPhotographerTests.swift
brustolin ffdf298
Update Main.storyboard
brustolin 10ca7fd
Apply suggestions from code review
brustolin 594d8a6
Update Sources/Swift/Tools/UIRedactBuilder.swift
brustolin cfb1ec7
ref
brustolin 4cc5ba8
Merge branch 'fix/redact-under-translucent' of https://github.com/get…
brustolin 2fae00a
ref
brustolin b1d9eec
ref
brustolin adc9c57
Merge branch 'main' into fix/redact-under-translucent
brustolin e0f6d24
ref
brustolin 1b5790f
Merge branch 'main' into fix/redact-under-translucent
brustolin ee68606
Update UIRedactBuilder.swift
brustolin 0b3d916
Update UIRedactBuilder.swift
brustolin 30077ce
Merge branch 'main' into fix/redact-under-translucent
brustolin 35bb1e7
Update SRRedactSampleViewController.swift
brustolin cf60b5e
fix: Don't redact clipped views (#4325)
brustolin 7878f04
Correct redact UIView with higher zPosition (#4309)
brustolin 48489b5
Merge branch 'main' into fix/redact-under-translucent
brustolin 3bc34ab
Update UIRedactBuilder.swift
brustolin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
Samples/iOS-Swift/iOS-Swift/ViewControllers/SRRedactSampleViewController.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import Foundation | ||
|
|
||
| class SRRedactSampleViewController: UIViewController { | ||
|
|
||
| @IBOutlet var notRedactedView: UIView! | ||
|
|
||
| @IBOutlet var label: UILabel! | ||
|
|
||
| override func viewDidLoad() { | ||
| super.viewDidLoad() | ||
|
|
||
| notRedactedView.backgroundColor = .green | ||
| notRedactedView.transform = CGAffineTransform(rotationAngle: 45 * .pi / 180.0) | ||
|
|
||
| SentrySDK.replay.ignoreView(notRedactedView) | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.