Fix start up crash

Potentially be this issue https://forums.expo.io/t/expo-sentry-crashes-on-startup-except-the-first-time/47761
This commit is contained in:
Zhiyuan Zheng 2021-01-20 17:43:26 +01:00
parent 0732ab2434
commit 31b2f67feb
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
1 changed files with 0 additions and 1 deletions

View File

@ -5,7 +5,6 @@ import log from './log'
const sentry = () => { const sentry = () => {
log('log', 'Sentry', 'initializing') log('log', 'Sentry', 'initializing')
return Sentry.init({ return Sentry.init({
environment: Constants.manifest.releaseChannel || 'expo',
dsn: Constants.manifest.extra.sentryDSN, dsn: Constants.manifest.extra.sentryDSN,
enableInExpoDevelopment: false, enableInExpoDevelopment: false,
debug: __DEV__ debug: __DEV__