diff options
author | Ansh <anshnanda10@gmail.com> | 2023-05-01 12:42:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 14:42:31 -0500 |
commit | c75c888de2407d3314cad07989174201313facaa (patch) | |
tree | e7b293ebc6730a47c1a89207fd0248393db5185e /src/App.native.tsx | |
parent | dbb3c5c15524c517291356a4918d043348906aad (diff) | |
download | voidsky-c75c888de2407d3314cad07989174201313facaa.tar.zst |
[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>
Diffstat (limited to 'src/App.native.tsx')
-rw-r--r-- | src/App.native.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/App.native.tsx b/src/App.native.tsx index e0e030cbc..f330cfa04 100644 --- a/src/App.native.tsx +++ b/src/App.native.tsx @@ -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) |