getsentry / getsentry/sentry-react-native
Mobile App Session Replay: Ability to disable or mask touch capture per screen
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.8k
- Forks
- 366
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 93
Descripción
### Problem Statement
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
### Are you willing to submit a PR?
None
Guía de contribución
Línea de trabajo
Comienza rastreando el rastreador táctil nativo y la API Sentry.Mask existente. Compara el enmascaramiento propuesto por componente, un wrapper Sentry.MaskTouches y las opciones de pausa globales. Se considera completado cuando las pantallas o componentes sensibles ya no exponen las coordenadas de toques y arrastres en Session Replay, y el comportamiento se ha verificado en las plataformas móviles afectadas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react-native, typescript
- Área
- mobile-dev, security
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100