Try without Sentry

This commit is contained in:
Zhiyuan Zheng 2021-01-22 02:04:00 +01:00
parent 7c6aba77ba
commit e820ce3690
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
2 changed files with 6 additions and 6 deletions

View File

@ -192,7 +192,7 @@ const Compose: React.FC<SharedComposeProp> = ({
navigation.goBack()
})
.catch(error => {
Sentry.Native.captureException(error)
// Sentry.Native.captureException(error)
haptics('Error')
composeDispatch({ type: 'posting', payload: false })
Alert.alert(t('heading.right.alert.title'), undefined, [

View File

@ -4,11 +4,11 @@ import log from './log'
const sentry = () => {
log('log', 'Sentry', 'initializing')
return Sentry.init({
dsn: Constants.manifest.extra.sentryDSN,
enableInExpoDevelopment: false,
debug: __DEV__
})
// return Sentry.init({
// dsn: Constants.manifest.extra.sentryDSN,
// enableInExpoDevelopment: false,
// debug: __DEV__
// })
}
export default sentry