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
[Session Replay] Add ability to mask or suppress touch input over sensitive views and WebViews #8462
When Session Replay is enabled, raw touch coordinates (taps and swipes) are recorded globally across the screen, even when the user is interacting with visually masked elements like password fields, custom keypads, or sensitive WebViews.
This creates a PII and security vulnerability. We currently have an enterprise customer using a work-around to avoid being blocked from shipping their app because observers can reconstruct user PINs and passwords simply by watching where the tap indicators land over a visually redacted WebView.
Today, sentry-java provides no mechanism to suppress touch recording over visually masked view boundaries, nor does it offer a programmatic API (like pauseTouchTracking()) to temporarily disable gesture capture during sensitive user flows without completely shutting down the replay engine.
A quick update here:Manual Session Replay controls shipped in 9.27.0. You can call SentrySDK.replay.pause() before showing sensitive content and SentrySDK.replay.resume() afterward to continue the same replay. Pausing excludes screenshots and touch events during that interval.
Activity
linear-code commentedon Jul 17, 2026
COCOA-1669
christophaigner commentedon Oct 23, 2026
A quick update here: Manual Session Replay controls shipped in
9.27.0. You can callSentrySDK.replay.pause()before showing sensitive content andSentrySDK.replay.resume()afterward to continue the same replay. Pausing excludes screenshots and touch events during that interval.feat(replay): Add touch tracking pause API (getsentry#9587)
github-actions commentedon Nov 26, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #9587, which was included in the 9.36.0 release.