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

Remove sentry-expo

Too many dependencies it needs, especially the unused expo-updates
This commit is contained in:
xmflsct
2022-09-24 13:42:15 +02:00
parent 08cd1d2c51
commit 398f37d599
17 changed files with 103 additions and 298 deletions

View File

@ -1,12 +1,18 @@
import * as Sentry from 'sentry-expo'
import * as Sentry from "@sentry/react-native";
import { isDevelopment } from "@utils/checkEnvironment";
import log from './log'
const sentry = () => {
log('log', 'Sentry', 'initializing')
Sentry.init({
// @ts-ignore
enabled: !isDevelopment,
dsn: 'https://53348b60ff844d52886e90251b3a5f41@o917354.ingest.sentry.io/6410576',
enableInExpoDevelopment: false,
tracesSampleRate: 0.35,
integrations: [
new Sentry.ReactNativeTracing({
tracingOrigins: ["tooot.app"],
}),
],
autoSessionTracking: true
})
}