trails/apps/mobile
Ullrich Schäfer 8e576ac578
Consolidate Sentry config into shared package; fix inconsistencies
Introduces @trails-cool/sentry-config with three helpers that encode
the common Sentry.init options:
- nodeSentryConfig(appContext) for the two HTTP servers
- browserSentryConfig(appContext, env) for the Journal client
- mobileSentryConfig(__DEV__) for the React Native app
- drop404s beforeSend for servers

Also fixes three inconsistencies found in the audit:
- Planner server was missing sendDefaultPii: false (IPs could leak)
- Planner entry.server.tsx didn't call Sentry.captureException on SSR
  render errors; Journal's SSR did
- Sentry.init location now matches across apps (both in server.ts;
  Journal previously had it in app/entry.server.tsx, which meant init
  ran lazily on first request rather than at server startup)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 00:30:09 +02:00
..
app Fix Android emulator dev server: use 10.0.2.2 instead of localhost 2026-04-15 01:22:50 +02:00
assets Initialize Expo mobile app with tab navigation and monorepo support 2026-04-12 23:05:57 +02:00
lib Consolidate Sentry config into shared package; fix inconsistencies 2026-04-18 00:30:09 +02:00
.gitignore Add local build scripts via Expo CNG/prebuild 2026-04-15 01:19:37 +02:00
app.config.ts Add local build scripts via Expo CNG/prebuild 2026-04-15 01:19:37 +02:00
eas.json Enable Sentry source map upload in EAS builds 2026-04-13 02:12:36 +02:00
index.ts Initialize Expo mobile app with tab navigation and monorepo support 2026-04-12 23:05:57 +02:00
metro.config.js Add Metro config for monorepo module resolution 2026-04-15 07:39:04 +02:00
package.json Consolidate Sentry config into shared package; fix inconsistencies 2026-04-18 00:30:09 +02:00
tsconfig.json Implement mobile route editor with MapLibre and BRouter routing 2026-04-15 01:06:10 +02:00