mirror of https://github.com/tooot-app/app
Remove Sentry again
This commit is contained in:
parent
08df036289
commit
7f3b70110b
6
App.tsx
6
App.tsx
|
@ -8,7 +8,6 @@ import onlineStatus from '@root/startup/onlineStatus'
|
||||||
import netInfo from '@root/startup/netInfo'
|
import netInfo from '@root/startup/netInfo'
|
||||||
import { persistor, store } from '@root/store'
|
import { persistor, store } from '@root/store'
|
||||||
import ThemeManager from '@utils/styles/ThemeManager'
|
import ThemeManager from '@utils/styles/ThemeManager'
|
||||||
import Constants from 'expo-constants'
|
|
||||||
import * as SplashScreen from 'expo-splash-screen'
|
import * as SplashScreen from 'expo-splash-screen'
|
||||||
import React, { useCallback, useEffect, useState } from 'react'
|
import React, { useCallback, useEffect, useState } from 'react'
|
||||||
import { enableScreens } from 'react-native-screens'
|
import { enableScreens } from 'react-native-screens'
|
||||||
|
@ -16,16 +15,11 @@ import { QueryClient, QueryClientProvider } from 'react-query'
|
||||||
import { Provider } from 'react-redux'
|
import { Provider } from 'react-redux'
|
||||||
import { PersistGate } from 'redux-persist/integration/react'
|
import { PersistGate } from 'redux-persist/integration/react'
|
||||||
import { LogBox, Platform } from 'react-native'
|
import { LogBox, Platform } from 'react-native'
|
||||||
import * as Sentry from 'sentry-expo'
|
|
||||||
|
|
||||||
if (Platform.OS === 'android') {
|
if (Platform.OS === 'android') {
|
||||||
LogBox.ignoreLogs(['Setting a timer for a long period of time'])
|
LogBox.ignoreLogs(['Setting a timer for a long period of time'])
|
||||||
}
|
}
|
||||||
|
|
||||||
log('log', 'Sentry', 'initializing')
|
|
||||||
Sentry.init({
|
|
||||||
dsn: Constants.manifest.extra.sentryDSN
|
|
||||||
})
|
|
||||||
|
|
||||||
dev()
|
dev()
|
||||||
// sentry()
|
// sentry()
|
||||||
|
|
Loading…
Reference in New Issue