tooot/src/startup/sentry.ts

15 lines
332 B
TypeScript
Raw Normal View History

2021-01-20 00:39:39 +01:00
import Constants from 'expo-constants'
2021-01-07 19:13:09 +01:00
import * as Sentry from 'sentry-expo'
2021-01-20 00:39:39 +01:00
import log from './log'
2021-01-07 19:13:09 +01:00
const sentry = () => {
log('log', 'Sentry', 'initializing')
2021-01-22 02:04:00 +01:00
// return Sentry.init({
// dsn: Constants.manifest.extra.sentryDSN,
// enableInExpoDevelopment: false,
// debug: __DEV__
// })
2021-01-07 19:13:09 +01:00
}
export default sentry