Skip to content
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

Toast Messages Not Shown as Part of iOS + SwiftUI Replays #5024

Open
jas-kas opened this issue Mar 26, 2025 · 1 comment
Open

Toast Messages Not Shown as Part of iOS + SwiftUI Replays #5024

jas-kas opened this issue Mar 26, 2025 · 1 comment

Comments

@jas-kas
Copy link
Member

jas-kas commented Mar 26, 2025

Description

Toast messages are a common pattern to show error messages to users as well as other key information. Today, they're not shown as part of the replay video for iOS+SwiftUI, which leads to no visual indication of errors in some cases. This makes debugging with replays more challenging.

@philprime
Copy link
Contributor

To add more context:

There are multiple approaches to add toasts.
One approach is using overlays in the same UIWindow with a high z-position (closer to viewer than other screen content), which should be picked by the current implementation of session replay.

Another option is using multiple windows and stack them on top of each other. All of them will be rendered and displayed on screen depending on their coordinates. Session replay currently only renders the key window, therefore any overlays are not included.

This could also lead to issues with the wrong window being rendered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Discussion
Development

No branches or pull requests

4 participants