You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mobile App Session Replay: Ability to disable or mask touch capture per screen #6299
Currently, mobile Session Replay captures raw tap and drag gesture coordinates globally via the native touch tracker. While this is incredibly useful for debugging user flows, it introduces security/privacy risk on sensitive screens. Even when the mask strategy is strict and the keyboard doesn't show, the global touch overlay still records and displays the exact coordinates of user taps/drags over the relay. If a user is typing on a standard QWERTY keyboard or a fixed-layout numeric keypad, an observer can easily deduce inputs (passwords, PINs, or PII etc) just by looking at the tap indicator positions on the masked replay.
I would like to see the ability to drop touches for components/views.
Solution Brainstorm
Extend Sentry.Mask with a prop to disable touches? Or maybe a new wrapper Sentry.MaskTouches?
Failing that, we'd be better off with a global way to pause/unpause or just don't record any at all
Hey! Are there any updates on this? We see touches captured even when replay is paused, which is a privacy issue for our apps. Or even a workaround in the meantime?
Edit: oops I thought I was in the iOS repo - wrong thread.
Per-view / per-screen (only) touch masking which is the actual ask of this issue is not yet offered. This needs to be fixed on the native side first (related iOS issue getsentry/sentry-cocoa#8462 ). Please upvote this issue (👍) if this is important for your project to help us prioritise this 🙏
Per-view / per-screen (only) touch masking which is the actual ask of this issue is not yet offered. This needs to be fixed on the native side first (related iOS issue getsentry/sentry-cocoa#8462 ). Please upvote this issue (👍) if this is important for your project to help us prioritise this 🙏
This sounds really cool thank you @antonis. Looking forward to giving it a go once released. Though adding an early thumbs-up just as from initial glance a cleaner API for this would be ideal, and it also seems like it blocks all aspects of replay, and not just the touch interactions?
Activity
linear-code commentedon Jun 16, 2026
RN-673
antonis commentedon Jun 16, 2026
Thank you for reporting @ryanpato 🙇
This is a valid concern and proposal. We will discuss this internally and iterate back.
antonis commentedon Jun 16, 2026
It seems that we already have a project for this though not a specific timeline yet. We'll iterate here once this is planned.
richieshilton commentedon Jul 15, 2026
Hey! Are there any updates on this? We see touches captured even when replay is paused, which is a privacy issue for our apps. Or even a workaround in the meantime?
Edit: oops I thought I was in the iOS repo - wrong thread.
antonis commentedon Jul 21, 2026
Thank you for bumping this and your feedback. No updates yet but it's on our backlog.
antonis commentedon Sep 14, 2026
With the Session Replay runtime controls functionality merged and pending to ship in the upcoming
8.27.0there is a way to pause/stop session replay at runtime allowing to hide touches on specific screens.Per-view / per-screen (only) touch masking which is the actual ask of this issue is not yet offered. This needs to be fixed on the native side first (related iOS issue getsentry/sentry-cocoa#8462 ). Please upvote this issue (👍) if this is important for your project to help us prioritise this 🙏
ryanpato commentedon Sep 14, 2026
This sounds really cool thank you @antonis. Looking forward to giving it a go once released. Though adding an early thumbs-up just as from initial glance a cleaner API for this would be ideal, and it also seems like it blocks all aspects of replay, and not just the touch interactions?
antonis commentedon Sep 14, 2026
Thank you for iterating!
Exactly 👍