Monitoring
NatievExpress uses Sentry (opens in a new tab) for error tracking and performance monitoring.
Sentry is a powerful error tracking and performance monitoring tool that helps developers identify and fix issues in their applications. It provides detailed reports on errors, crashes, and performance issues, allowing developers to quickly diagnose and resolve problems.
For more information about Sentry, please refer to the official documentation (opens in a new tab).
Setup
Create a Sentry account
Go to the Sentry Dashboard (opens in a new tab). Create a new account or sign in with your existing account.
Create a new project
Go to your Sentry Dashboard (opens in a new tab). Click on New Project and select React Native. Copy the DSN (Data Source Name).
Update your .env.local file
Add the DSN, as well as the URL, Project, and Organization to your .env.local
file
EXPO_PUBLIC_SENTRY_DSN=""
EXPO_PUBLIC_SENTRY_URL=""
EXPO_PUBLIC_SENTRY_PROJECT=""
EXPO_PUBLIC_SENTRY_ORGANIZATION=""
You're ready to go!
That's it! Now you can start monitoring your application's performance and errors. All errors and crashes will be automatically reported to Sentry.