Skip to content
Merged
4 changes: 4 additions & 0 deletions docs/platforms/react-native/sourcemaps/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ sentry {
uploadNativeSymbols = shouldSentryAutoUpload()
}
```

### Debug and Simulator Builds

Note that uploading source maps for debug or simulator builds is disabled because symbolication is handled directly by the Metro development server. In a development environment, Metro automatically provides the symbolication needed to translate stack traces into readable source code. As a result, there is no need to upload source maps for these types of builds.
3 changes: 1 addition & 2 deletions docs/platforms/react-native/sourcemaps/uploading/expo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Sentry's React Native SDK works out of the box with Expo applications. To see re

## Automatic Upload for Release

When the Sentry Expo Plugin `@sentry/react-native/expo` and the Sentry Metro Pugin are added to your application configuration, source maps for the native builds are uploaded automatically during EAS Builds and when building the native application release locally using `npx expo prebuild`.
When the Sentry Expo Plugin `@sentry/react-native/expo` and the Sentry Metro Pugin are added to your application configuration, source maps for the native builds are uploaded automatically during EAS Builds and when building the native application release locally using `npx expo prebuild`. Note that uploading source maps for debug or simulator builds is disabled, as symbolication is handled by the Metro dev server.

## Manual Upload for EAS Updates

Expand Down Expand Up @@ -47,7 +47,6 @@ npx sentry-expo-upload-sourcemaps dist

- `dist` is the default output directory of `eas update`.
- Uploaded source maps have no associated releases. This is expected as updates can apply to multiple releases.
- Uploading of source maps for debug or simulator builds is disabled.

## Notes

Expand Down
Loading