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

Using new sentry project thanks for sponsoring

Also removing unnecessary importing public keys
This commit is contained in:
Zhiyuan Zheng
2022-05-16 22:35:58 +02:00
parent d0aa55d021
commit 9c1d18c7f0
5 changed files with 5 additions and 16 deletions

View File

@ -1,14 +1,13 @@
import { isDevelopment } from '@utils/checkEnvironment'
import Constants from 'expo-constants'
import { isRelease } from '@utils/checkEnvironment'
import * as Sentry from 'sentry-expo'
import log from './log'
const sentry = () => {
log('log', 'Sentry', 'initializing')
Sentry.init({
dsn: Constants.manifest?.extra?.sentryDSN,
enableInExpoDevelopment: false,
debug: isDevelopment
dsn: 'https://53348b60ff844d52886e90251b3a5f41@o917354.ingest.sentry.io/6410576',
enableInExpoDevelopment: true,
debug: !isRelease
})
}