Enable Sentry source map upload in EAS builds

- Remove SENTRY_DISABLE_AUTO_UPLOAD from all build profiles
- Add @sentry/cli as explicit dependency to fix pnpm module
  resolution in EAS cloud builds
- SENTRY_AUTH_TOKEN configured as EAS environment secret

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-13 02:12:36 +02:00
parent 42a9c29c84
commit 1414924746
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
3 changed files with 109 additions and 12 deletions

View file

@ -1,7 +1,8 @@
{
"cli": {
"version": ">= 18.0.0",
"appVersionSource": "remote"
"appVersionSource": "remote",
"promptToConfigurePushNotifications": false
},
"build": {
"development": {
@ -9,16 +10,10 @@
"distribution": "internal",
"ios": {
"simulator": true
},
"env": {
"SENTRY_DISABLE_AUTO_UPLOAD": "true"
}
},
"preview": {
"distribution": "internal",
"env": {
"SENTRY_DISABLE_AUTO_UPLOAD": "true"
}
"distribution": "internal"
},
"production": {
"autoIncrement": true
@ -29,10 +24,7 @@
"ios": {
"simulator": true
},
"environment": "development",
"env": {
"SENTRY_DISABLE_AUTO_UPLOAD": "true"
}
"environment": "development"
}
},
"submit": {

View file

@ -29,6 +29,7 @@
},
"dependencies": {
"@maplibre/maplibre-react-native": "^10.4.2",
"@sentry/cli": "^3.3.5",
"@sentry/react-native": "~7.11.0",
"@trails-cool/api": "workspace:*",
"@trails-cool/gpx": "workspace:*",