We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faeaf10 commit 409ad00Copy full SHA for 409ad00
android/src/main/java/io/sentry/react/RNSentryModuleImpl.java
@@ -330,9 +330,7 @@ private SentryReplayOptions getReplayOptions(@NotNull ReadableMap rnOptions) {
330
331
final boolean redactVectors = !rnMobileReplayOptions.hasKey("maskAllVectors") || rnMobileReplayOptions.getBoolean("maskAllVectors");
332
if (redactVectors) {
333
- final @NotNull Set<String> toRedact = new HashSet<>();
334
- toRedact.add("com.horcrux.svg.SvgView"); // react-native-svg
335
- androidReplayOptions.setRedactClasses(toRedact);
+ androidReplayOptions.addClassToRedact("com.horcrux.svg.SvgView"); // react-native-svg
336
}
337
338
return androidReplayOptions;
0 commit comments