Connect Sentry to your Goodspeed app
Crash reporting wired into every generated app with null-safe init, breadcrumb helpers, and sensitive-key redaction. Goodspeed wires Sentry into every app that needs it at generation time, so you start with a working integration, not a blank config and a documentation tab.
WHAT GETS WIRED IN
Built into every Sentry build
Every app Goodspeed generates with Sentry includes these wired integrations from the first build. No manual setup required.
| Item | Description | Strength |
|---|---|---|
| Sentry.init runs only when EXPO_PUBLIC_SENTRY_DSN is set and gasConfig.features.analytics.crashReporting is true | Sentry.init runs only when EXPO_PUBLIC_SENTRY_DSN is set and gasConfig.features.analytics.crashReporting is true | 01 |
| sanitizeData redacts any property key matching a 30-pattern regex (password, token, secret, apiKey) before events are sent | sanitizeData redacts any property key matching a 30-pattern regex (password, token, secret, apiKey) before events are sent | 02 |
| addBreadcrumb(category, message) called across lib/posthog.ts, lib/revenuecat.ts, and services/ for readable event trails | addBreadcrumb(category, message) called across lib/posthog.ts, lib/revenuecat.ts, and services/ for readable event trails | 03 |
| setSentryUser enriches scope.user with subscription tier, app version, and device model after auth | setSentryUser enriches scope.user with subscription tier, app version, and device model after auth | 04 |
| captureTransaction wraps expensive operations like image upload and sync replay in Sentry performance spans | captureTransaction wraps expensive operations like image upload and sync replay in Sentry performance spans | 05 |
Source: the Goodspeed app foundation · error-monitoring
REAL GENERATED CODE
A snippet from a Sentry integration the pipeline ships
This pattern is lifted from the engineered plumbing that ships inside every Goodspeed app. The studio generates Sentry integration code like this for every app that includes it, not a placeholder you have to fill in yourself.
Null-safe init
// lib/sentry.ts const dsn = process.env.EXPO_PUBLIC_SENTRY_DSN ?? ''; const isEnabled = gasConfig.features.analytics.crashReporting && !!dsn; if (isEnabled) { Sentry.init({ dsn, tracesSampleRate: 0.2 }); } export function sanitizeData(data: Record<string, unknown>) { const SENSITIVE = /password|token|secret|apiKey|authorization/i; return Object.fromEntries( Object.entries(data).map(([k, v]) => [k, SENSITIVE.test(k) ? '[REDACTED]' : v] ) ); }
Today's log
APPS THAT USE SENTRY
Where this integration ships
These app types include Sentry as part of the generated stack. Each link goes to a full spec page with capabilities, scored ideas, and a pipeline walkthrough.
- Build a Social App appBuilding a social app from scratch means solving hard infrastructure problems: real-time feeds, fan-out writes, notification delivery, and content moderation hooks. Goodspeed generates a complete sociSOCIAL APP
- Build a Fitness Tracker appBuilding a fitness tracker means wiring together daily logging, progress charts, Apple Health, and push reminders. Goodspeed generates all of that in a single build, not a patchwork of tutorials. The FITNESS TRACKER APP
- Build a Productivity App appProductivity apps succeed when they remove friction from the moment the user decides to work. Goodspeed generates a productivity app with Pomodoro timer, focused task queue, distraction blocker hooks,PRODUCTIVITY APP