getsentry / getsentry/sentry

[Session Replay on Mobile] Improve Masking Defaults by Keeping Inputs Masked

Open
#90,174 3 comments 0 reactions 0 assignees View on GitHub
Improvement Mobile Replays
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

## Description

For Web Replay, our default masking is:

```
Sentry.replayIntegration({
maskAllText: true,
blockAllMedia: true,
});
```
Even if someone sets both options to false, we will still mask all inputs (e.g., passwords), given maskAllInputs defaults to true.

I'd like the same case to be how it works on Mobile. For example, if someone has an iOS project, and they change their masking options to be:

```
options.sessionReplay.maskAllText = false
options.sessionReplay.maskAllImages = false
```

Inputs should still be masked. Note that this requires us to define inputs across iOS, Android and React Native.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the Web Replay defaults with the session replay masking options for iOS, Android, and React Native. Identify how each platform defines inputs and where maskAllText and maskAllImages are handled. Done means inputs remain masked when those options are disabled, consistently across all three mobile platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, react-native
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.