Sentry logging and minor UI

This commit is contained in:
Patrick Fic
2025-11-04 13:51:17 -08:00
parent dcdc1e9988
commit 4b567ae04f
7 changed files with 51 additions and 44 deletions

31
App.js
View File

@@ -12,40 +12,11 @@ import { client } from "./graphql/client";
import { persistor, store } from "./redux/store";
import "./translations/i18n";
Sentry.init({
dsn: 'https://8d6c3de1940a4e4f8b81cf4d2150bdea@o492140.ingest.us.sentry.io/5558869',
// Adds more context data to events (IP address, cookies, user, etc.)
// For more information, visit: https://docs.sentry.io/platforms/react-native/data-management/data-collected/
sendDefaultPii: true,
// Enable Logs
enableLogs: true,
// Configure Session Replay
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1,
integrations: [Sentry.mobileReplayIntegration(), Sentry.feedbackIntegration()],
ignoreErrors: [/.*Network Error.*/i]
// uncomment the line below to enable Spotlight (https://spotlightjs.com)
// spotlight: __DEV__,
});
// Sentry.init({
// dsn: "https://8d6c3de1940a4e4f8b81cf4d2150bdea@o492140.ingest.sentry.io/5558869",
// enableInExpoDevelopment: true,
// // tracesSampleRate: 0.2,
// // integrations: [
// // new Sentry.ReactNativeTracing({
// // tracingOrigins: ["localhost", "imex.online", "cloudinary.com", /^\//],
// // // ... other options
// // }),
// // ],
// //debug: true, // Sentry will try to print out useful debugging information if something goes wrong with sending an event. Set this to `false` in production.
// });
const App = () => {
return (
<SafeAreaProvider>
<Provider store={store}>