about summary refs log tree commit diff
path: root/src/lib
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-09-05 14:23:22 -0500
committerGitHub <noreply@github.com>2023-09-05 12:23:22 -0700
commite3e91816d1604c222b5be486c290b075d3faa443 (patch)
tree34a2ad2feeec29337ee03274360b3687952e324c /src/lib
parent9a3fa512ebcbf9e0b539dd337db967017b626826 (diff)
downloadvoidsky-e3e91816d1604c222b5be486c290b075d3faa443.tar.zst
Upgrade to Expo 49 (#1331)
* update to expo 49

* update expo-camera to fix console erorrs

* run doctor again

* fix ts errors

* patch @sentry/react-native

Getting `cannot read property 'ignoreLogs' of undefined` in this file.
Ironically, this may be a cyclical imports problem. LogBox isn't enabled
in production, so this patch should only affect dev/test.

* fix type error

* reinstall newer reanimated

* pin expo-dev-client to fix reanimated dev-build issue

* fix type errors, fix bad conflict res

* Fix to notifications badge z-index on desktop

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/sentry.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/sentry.ts b/src/lib/sentry.ts
index 5448415ff..b7f04854d 100644
--- a/src/lib/sentry.ts
+++ b/src/lib/sentry.ts
@@ -13,6 +13,7 @@ Sentry.init({
   enableInExpoDevelopment: false, // if true, Sentry will try to send events/errors in development mode.
   debug: false, // If `true`, Sentry will try to print out useful debugging information if something goes wrong with sending the event. Set it to `false` in production
   environment: __DEV__ ? 'development' : 'production', // Set the environment
+  // @ts-ignore exists but not in types, see https://docs.sentry.io/platforms/react-native/configuration/options/#enableAutoPerformanceTracking
   enableAutoPerformanceTracking: true, // Enable auto performance tracking
   tracesSampleRate: 0.5, // Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring. // TODO: this might be too much in production
   _experiments: {