From abe6746ed7eaf54c13078bbf8ed2c38eb49f4d27 Mon Sep 17 00:00:00 2001 From: Julian Diggle Date: Wed, 10 Jan 2024 12:17:40 +0000 Subject: [PATCH] Update sourcemaps index.mdx Include a note to ensure readers check the React Native documentation to confirm how to enable Source Maps for their platform and App build configuration --- src/platforms/react-native/sourcemaps/index.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platforms/react-native/sourcemaps/index.mdx b/src/platforms/react-native/sourcemaps/index.mdx index 03ac5fa2d2cda..398a82d523e83 100644 --- a/src/platforms/react-native/sourcemaps/index.mdx +++ b/src/platforms/react-native/sourcemaps/index.mdx @@ -16,6 +16,8 @@ If you are on an older version and you want to upload source maps we recommend u To get unminified stack traces for JavaScript code, source maps must be generated and uploaded. The React Native SDK handles source maps _automatically_ for iOS with Xcode and Android with Gradle, if you do not use custom values. +Ensure that you have followed the relevant React Native documentation to enable Source Maps since their generation may be disabled by default depending on the platform you are building for and whether you are using Hermes or not. + ## Set Up Automatic Upload The easiest way to configure automatic source maps upload is to use the Sentry Wizard: