Skip to main content
Shipnative uses Sentry for error tracking and performance monitoring.

Setup

The wizard prompts for your Sentry DSN. Or manually add to apps/app/.env:
Without DSN: Errors log to console. Connect Sentry early to catch errors with full stack traces and context.

Usage

Track Errors

Log Messages

User Context

Direct Sentry Access


Testing

Mock mode: Errors log to console as [MockSentry] Exception: ... Real Sentry:
  1. Add DSN to .env
  2. Trigger an error: throw new Error('Test error')
  3. View in Sentry Dashboard → Issues

Troubleshooting

Errors not showing in Sentry?
  • Verify DSN is correct
  • Check network connectivity
  • Allow a few seconds for upload
Still in mock mode?
  • Verify apps/app/.env has EXPO_PUBLIC_SENTRY_DSN
  • Restart Metro: yarn start --clear
For more, see Sentry React Native SDK.