mirror of
https://github.com/selfxyz/self.git
synced 2026-01-08 22:28:11 -05:00
SELF-1665: address sentry replay preview (#1509)
* fix sentry replays * clean up comments
This commit is contained in:
@@ -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'],
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user