sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Add ability to wild card masks in Session Replay

Open chris-mitchell opened this issue 5 months ago • 2 comments

Problem Statement

We use a third party to render PDFs within our app and launch it via a Fragment they control. We don't know exactly what view classes they use to display things and would like to block everything. We'd like the ability to mask a package name with a wild card.

Solution Brainstorm

Similar to the addMaskViewClass, we'd like some function like:

public void addMaskPackage(final @NotNull String packageName)

And we could provide com.thirdparty.* and any view in the hierarchy with this package would be masked.

chris-mitchell avatar May 12 '25 21:05 chris-mitchell