Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/platforms/react-native/sourcemaps/uploading/expo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,25 @@ eas update
To upload source maps for all platforms use the following command:

```bash
SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \
npx sentry-expo-upload-sourcemaps dist
```

To upload source maps without expo plugin (bare workflow):

```bash
SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \
SENTRY_PROJECT=___PROJECT_SLUG___ \
SENTRY_ORG=___ORG_SLUG___ \
SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \
SENTRY_URL=https://sentry.io/ \
npx sentry-expo-upload-sourcemaps dist
```


#### Notes

- `dist` is the default output directory of `eas update`.
- Sentry Org, Sentry Project and Sentry Url are loaded from expo plugin config (app.json / app.config.js) if environment variable is not set.
- Uploaded source maps have no associated releases. This is expected as updates can apply to multiple releases.

## Notes
Expand Down
Loading