Skip to content
Open
Changes from all 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
16 changes: 14 additions & 2 deletions docs/platforms/react-native/sourcemaps/uploading/expo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ When the Sentry Expo Plugin `@sentry/react-native/expo` and the Sentry Metro Plu

## Manual Upload for EAS Updates

To upload source maps for EAS Updates and `npx expo export`, set up the Sentry Expo Plugin, the Sentry Metro plugin and execute the `sentry-expo-upload-sourcemaps` command.
To upload source maps for EAS Updates and `npx expo export`, set up the Sentry Expo Plugin, the Sentry Metro plugin and execute the `@sentry/expo-upload-sourcemaps` command.

### Create Update

Expand All @@ -38,7 +38,7 @@ To upload source maps for all platforms use the following command:

```bash
SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \
npx --package=@sentry/react-native sentry-expo-upload-sourcemaps dist
npx @sentry/expo-upload-sourcemaps dist
```

To upload source maps without expo plugin (bare workflow):
Expand All @@ -48,9 +48,21 @@ SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \
SENTRY_PROJECT=___PROJECT_SLUG___ \
SENTRY_ORG=___ORG_SLUG___ \
SENTRY_URL=https://sentry.io/ \
npx @sentry/expo-upload-sourcemaps dist
```

<Alert>

The `@sentry/expo-upload-sourcemaps` package is available starting with `@sentry/react-native` 8.9.0. If you are on an older version, invoke the bin bundled with the SDK instead:

```bash
npx --package=@sentry/react-native sentry-expo-upload-sourcemaps dist
```

Both forms produce identical results; the scoped package is preferred for new setups.

</Alert>
Comment thread
antonis marked this conversation as resolved.


#### Notes

Expand Down
Loading