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