-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(apple): Add warning for session replay disabled with iOS 26.0 Liquid Glass #15201
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
Open
philprime
wants to merge
5
commits into
master
Choose a base branch
from
philprime/session-replay-disable
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+48
−2
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
9cf14c2
feat(apple): Add warning for disabled with iOS 26.0 Liquid Glass
philprime 031aca5
add version
philprime 2d4b7cd
Update docs/platforms/apple/common/session-replay/index.mdx
philprime d257e8a
Update docs/platforms/apple/common/session-replay/index.mdx
philprime c15cca5
Update docs/platforms/apple/common/session-replay/index.mdx
philprime 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
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 |
---|---|---|
|
@@ -17,6 +17,28 @@ notSupported: | |
|
||
<PlatformSection notSupported={["apple", "apple.macos", "apple.tvos", "apple.watchos", "apple.visionos"]}> | ||
|
||
<Expandable title="Why is Session Replay not running on iOS 26.0?" permalink> | ||
|
||
Due to potential masking issues introduced by Apple's Liquid Glass rendering changes in iOS 26.0, Session Replay is now <strong>automatically disabled</strong> on apps running iOS 26.0+ when built with Xcode 26.0 or later starting with Sentry Cocoa <strong>8.57.0</strong>. This is a defensive measure to protect user privacy and prevent potential PII leaks until masking is reliably supported. Earlier SDK versions do not include this safeguard and may be affected by unreliable masking on iOS 26.0 when built with Xcode 26.0 (Liquid Glass). We recommend upgrading to 8.57.0+. | ||
|
||
Session Replay will work normally if: | ||
|
||
- Your app runs on iOS versions older than 26.0, OR | ||
- Your app is built with Xcode versions older than 26.0, OR | ||
Comment on lines
+22
to
+27
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
- Your app explicitly sets <code>UIDesignRequiresCompatibility</code> to <code>YES</code> in <code>Info.plist</code> | ||
|
||
If you understand the PII risks and want to enable Session Replay anyway, you can override this behavior: | ||
|
||
```swift | ||
options.experimental.enableSessionReplayInUnreliableEnvironment = true | ||
``` | ||
|
||
This experimental override option will be removed in a future minor version once the masking issues are resolved. | ||
|
||
You can follow the ongoing work to fix masking for iOS 26.0 (Liquid Glass) in <a href="https://github.com/getsentry/sentry-cocoa/issues/6390">GitHub issue #6390</a>. | ||
|
||
</Expandable> | ||
|
||
<Expandable title="Does Session Replay work with UIKit, SwiftUI or AppKit?" permalink> | ||
|
||
Session Replay works with both UIKit and SwiftUI. | ||
|
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.
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.
Two of the same alert types in a row is pretty distracting. They both also feel rather related. Can we join them together?