diff --git a/App.tsx b/App.tsx index 53b6cfb6..6415e6e5 100644 --- a/App.tsx +++ b/App.tsx @@ -33,7 +33,6 @@ import { TDocumentObj } from './src/screens/caseDetails/interface'; import AuthRouter from './src/screens/auth/AuthRouter'; import { initSentry } from './src/components/utlis/sentry'; -Sentry.init({ dsn: SENTRY_DSN }); initSentry(); if (ENV !== 'prod') { diff --git a/src/components/utlis/sentry.ts b/src/components/utlis/sentry.ts index be8644b1..29d363fc 100644 --- a/src/components/utlis/sentry.ts +++ b/src/components/utlis/sentry.ts @@ -12,12 +12,12 @@ const defaultOptions = { dsn: SENTRY_DSN, enableAutoSessionTracking: true, environment: ENV, - integrations: [ - new Sentry.ReactNativeTracing({ - routingInstrumentation: sentryRoutingInstrumentation, - tracingOrigins: ['localhost', /^\//], - }), - ], + // integrations: [ + // new Sentry.ReactNativeTracing({ + // routingInstrumentation: sentryRoutingInstrumentation, + // tracingOrigins: ['localhost', /^\//], + // }), + // ], tracesSampleRate: 0.2, };