Skip to content

Commit f51a974

Browse files
antoniskrystofwoldrichlizokm
authored
Adds a note that source maps are not uploaded for debug mode in React Native / Expo (#11478)
* Adds a note that source maps are not uploaded for debug * Adds a debug source maps notice on the main source maps page --------- Co-authored-by: Krystof Woldrich <[email protected]> Co-authored-by: Liza Mock <[email protected]>
1 parent 03f0c2d commit f51a974

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/platforms/react-native/sourcemaps/index.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,7 @@ sentry {
5050
uploadNativeSymbols = shouldSentryAutoUpload()
5151
}
5252
```
53+
54+
### Debug Builds
55+
56+
Symbolication is handled directly by the Metro development server, automatically providing the symbolication needed to translate stack traces into readable source code in a development environment. There's no need to upload source maps for these types of builds which is why the automatic uploading of source maps is disabled.

docs/platforms/react-native/sourcemaps/uploading/expo.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Sentry's React Native SDK works out of the box with Expo applications. To see re
1717

1818
## Automatic Upload for Release
1919

20-
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`.
20+
When the Sentry Expo Plugin `@sentry/react-native/expo` and the Sentry Metro Plugin 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`. Because symbolication is already handled by the Metro dev server, automatic uploading of source maps for debug builds is disabled.
2121

2222
## Manual Upload for EAS Updates
2323

0 commit comments

Comments
 (0)