Skip to content

core: implement app-wide error tracking with Sentry #20

Description

@EmeditWeb

Problem

When the app crashes in production there is no
error reporting. Bugs go undetected.

What To Build

  1. Install @sentry/react-native
  2. Configure Sentry in app entry
  3. Error boundaries with Sentry
  4. User context on wallet connect
  5. Custom breadcrumbs
  6. Performance monitoring
  7. Source map upload on EAS build

Files To Touch

  • app/_layout.tsx
  • app.config.ts
  • .env.example
  • All service files

Acceptance Criteria

  • Unhandled errors reported to Sentry
  • User context attached to errors
  • Source maps uploaded on production build
  • No sensitive data in error reports
  • npx expo export --platform web passes

Mandatory Checks Before PR

  • npx expo export --platform web passes
  • Sentry DSN in .env.example not .env
  • PR references this issue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions