Monitoring
ExpoLaunch uses Sentry for error tracking and performance monitoring.
Sentry is a powerful tool that helps developers identify and resolve runtime issues by automatically capturing:
- JavaScript errors and exceptions
- Native crashes (on iOS/Android)
- Performance bottlenecks
- Stack traces and device metadata
Create a Sentry account
Visit the Sentry Dashboard. Sign in or create a free account to get started.
Create a new project
Go to your Sentry Dashboard.
- In the Sentry Dashboard, click New Project
- Select React Native as the platform
- Copy your DSN (Data Source Name) for later use
Update your .env.local file
Add the DSN and optionally other identifiers like project, organization, and Sentry URL to your .env
file:
EXPO_PUBLIC_SENTRY_DSN==*****
Configure Sentry in app.json
Add the Sentry config under the plugins
section in your app.json
or app.config.js
:
{
"expo": {
"plugins": [
[
"@sentry/react-native/expo",
{
"organization": "your-organization",
"project": "your-project",
"url": "https://sentry.io/"
}
]
]
}
}
This will configure Sentry automatically during the build using EAS.
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.