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

Remove most of the require cycles

This commit is contained in:
Zhiyuan Zheng
2021-05-12 15:40:55 +02:00
parent 720dd7a837
commit 8e0d499ed8
17 changed files with 64 additions and 60 deletions

View File

@ -1,12 +1,12 @@
import Constants from 'expo-constants'
import * as Updates from 'expo-updates'
import { Constants } from 'react-native-unimodules'
import * as Sentry from 'sentry-expo'
import log from './log'
const sentry = () => {
log('log', 'Sentry', 'initializing')
Sentry.init({
dsn: Constants.manifest.extra.sentryDSN,
dsn: Constants.manifest.extra?.sentryDSN,
enableInExpoDevelopment: false,
debug:
__DEV__ ||