[APP-527] setup sentry (#532)
* setup sentry * add sentry to transformIgnorePatterns to fix jest issues * update README with sourcemap instructions * only enable integrations on native * fix sentry web * remove testing code * fix sentry authToken * Switch over to paul's auth tokens temporarily (lol) --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
+3
-1
@@ -1,5 +1,7 @@
|
||||
import 'react-native-url-polyfill/auto'
|
||||
import React, {useState, useEffect} from 'react'
|
||||
import 'lib/sentry' // must be relatively on top
|
||||
import {withSentry} from 'lib/sentry'
|
||||
import {Linking} from 'react-native'
|
||||
import {RootSiblingParent} from 'react-native-root-siblings'
|
||||
import * as SplashScreen from 'expo-splash-screen'
|
||||
@@ -64,4 +66,4 @@ const App = observer(() => {
|
||||
)
|
||||
})
|
||||
|
||||
export default App
|
||||
export default withSentry(App)
|
||||
|
||||
Reference in New Issue
Block a user