- Initialize @sentry/react-native with dedicated mobile project DSN - Wrap root layout with Sentry.wrap() for unhandled error capture - Configure Sentry plugin with org (trails-qq) and project (mobile) for source map uploads during EAS builds - Disabled in dev, full tracing in production Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
41 lines
790 B
JSON
41 lines
790 B
JSON
{
|
|
"cli": {
|
|
"version": ">= 18.0.0",
|
|
"appVersionSource": "remote"
|
|
},
|
|
"build": {
|
|
"development": {
|
|
"developmentClient": true,
|
|
"distribution": "internal",
|
|
"ios": {
|
|
"simulator": true
|
|
},
|
|
"env": {
|
|
"SENTRY_DISABLE_AUTO_UPLOAD": "true"
|
|
}
|
|
},
|
|
"preview": {
|
|
"distribution": "internal",
|
|
"env": {
|
|
"SENTRY_DISABLE_AUTO_UPLOAD": "true"
|
|
}
|
|
},
|
|
"production": {
|
|
"autoIncrement": true
|
|
},
|
|
"development-simulator": {
|
|
"developmentClient": true,
|
|
"distribution": "internal",
|
|
"ios": {
|
|
"simulator": true
|
|
},
|
|
"environment": "development",
|
|
"env": {
|
|
"SENTRY_DISABLE_AUTO_UPLOAD": "true"
|
|
}
|
|
}
|
|
},
|
|
"submit": {
|
|
"production": {}
|
|
}
|
|
}
|