1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Remove sentry instrucmentation

This commit is contained in:
xmflsct
2023-02-16 23:36:01 +01:00
parent 718870e3e9
commit 001267b9c7
3 changed files with 1 additions and 13 deletions

View File

@ -2,21 +2,12 @@ import * as Sentry from '@sentry/react-native'
import { isDevelopment } from '@utils/helpers/checkEnvironment'
import log from './log'
export const routingInstrumentation = new Sentry.ReactNavigationInstrumentation()
const sentry = () => {
log('log', 'Sentry', 'initializing')
Sentry.init({
enabled: !isDevelopment,
dsn: 'https://53348b60ff844d52886e90251b3a5f41@o917354.ingest.sentry.io/6410576',
tracesSampleRate: 0.35,
integrations: [
new Sentry.ReactNativeTracing({
routingInstrumentation,
tracingOrigins: ['tooot.app']
})
],
autoSessionTracking: true
})
}