// app.config.ts — Sentry plugin with strict upload
[
  '@sentry/react-native/expo',
  {
    authToken: process.env.SENTRY_AUTH_TOKEN,
    org:       'ai-pilot-press',
    project:   'pocketboard',

    // Fail the build if source maps cannot be uploaded.
    // A production build without readable stack traces is worse
    // than a build that fails and forces investigation.
    errorIfUploadFails: true,
  },
],
