SELF-1665: address sentry replay preview (#1509)

* fix sentry replays

* clean up comments
This commit is contained in:
Justin Hernandez
2025-12-15 20:44:59 -08:00
committed by GitHub
parent e5e7b108a0
commit 50dba6de15

View File

@@ -11,6 +11,7 @@ import {
consoleLoggingIntegration, consoleLoggingIntegration,
feedbackIntegration, feedbackIntegration,
init as sentryInit, init as sentryInit,
mobileReplayIntegration,
withScope, withScope,
wrap, wrap,
} from '@sentry/react-native'; } from '@sentry/react-native';
@@ -164,6 +165,11 @@ export const initSentry = () => {
return event; return event;
}, },
integrations: [ integrations: [
mobileReplayIntegration({
maskAllText: true,
maskAllImages: false,
maskAllVectors: false,
}),
consoleLoggingIntegration({ consoleLoggingIntegration({
levels: ['log', 'error', 'warn', 'info', 'debug'], levels: ['log', 'error', 'warn', 'info', 'debug'],
}), }),