react-native-website icon indicating copy to clipboard operation
react-native-website copied to clipboard

confusing docs around enabling source maps

Open softwarebyze opened this issue 2 months ago • 0 comments

Description

In the Enabling source maps section of Debugging Release Builds, there's an info callout that "On Android, source maps are enabled by default." but the next paragraph says "To enable source map generation, ensure the following hermesFlags are present in android/app/build.gradle."

Image

What is the problem?

Seems like conflicting info, are the sourcemaps enabled by default or does the flag need to be added to enable them?

How can we address it?

Improve clarity of phrasing

Why is it important?

Debugging sourcemaps can already be enough of a headache 😅

Who needs this?

Would be helpful for sentry users

When should this happen (use version numbers if needed)?

softwarebyze avatar Nov 13 '25 17:11 softwarebyze