diff options
author | Hailey <me@haileyok.com> | 2024-09-18 09:34:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 09:34:29 -0700 |
commit | 41d4b2c7eff58db56e732ca1cb2c82b9fd1ef6aa (patch) | |
tree | aae1de3946fe9cf2f74e853bfaca4a3e6539fb56 /src/lib/sentry.ts | |
parent | f45f7148ee6b3fbd92a9d1023451f8b9c265b0c5 (diff) | |
download | voidsky-41d4b2c7eff58db56e732ca1cb2c82b9fd1ef6aa.tar.zst |
remove expo-sentry (#5405)
Diffstat (limited to 'src/lib/sentry.ts')
-rw-r--r-- | src/lib/sentry.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/sentry.ts b/src/lib/sentry.ts index 1180b0db6..37d41e3a2 100644 --- a/src/lib/sentry.ts +++ b/src/lib/sentry.ts @@ -5,7 +5,7 @@ import {Platform} from 'react-native' import {nativeApplicationVersion, nativeBuildVersion} from 'expo-application' -import {init} from 'sentry-expo' +import {init} from '@sentry/react-native' import {BUILD_ENV, IS_DEV, IS_TESTFLIGHT} from 'lib/app-info' @@ -30,10 +30,10 @@ const dist = `${Platform.OS}.${nativeBuildVersion}.${ }${IS_DEV ? 'dev' : ''}` init({ + enabled: !__DEV__, autoSessionTracking: false, dsn: 'https://05bc3789bf994b81bd7ce20c86ccd3ae@o4505071687041024.ingest.sentry.io/4505071690514432', debug: false, // If `true`, Sentry will try to print out useful debugging information if something goes wrong with sending the event. Set it to `false` in production - enableInExpoDevelopment: false, // enable this to test in dev environment: BUILD_ENV ?? 'development', dist, release, |