TP-30224 | glitchtip fix
This commit is contained in:
1
App.tsx
1
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') {
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user