mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Preparing for CI test
This commit is contained in:
@ -1,18 +1,17 @@
|
||||
import Constants from 'expo-constants'
|
||||
import * as Updates from 'expo-updates'
|
||||
import * as Sentry from 'sentry-expo'
|
||||
import log from './log'
|
||||
|
||||
const sentry = () => {
|
||||
log('log', 'Sentry', 'initializing')
|
||||
Sentry.init({
|
||||
environment: Constants.manifest.extra.sentryEnv,
|
||||
dsn: Constants.manifest.extra.sentryDSN,
|
||||
environment: Constants.manifest.extra.toootEnvironment,
|
||||
enableInExpoDevelopment: false,
|
||||
debug:
|
||||
__DEV__ ||
|
||||
['development'].some(channel =>
|
||||
Constants.manifest.releaseChannel?.includes(channel)
|
||||
)
|
||||
['development'].some(channel => Updates.releaseChannel.includes(channel))
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user