Skip to content

Commit

Permalink
docs: Add Sourcemap generation documentation reference (#114)
Browse files Browse the repository at this point in the history
Co-authored-by: Sumitra Manga <[email protected]>
  • Loading branch information
miquelbeltran and sumitramanga authored Dec 11, 2024
1 parent 91f6839 commit b19514b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
- [RealUserMonitoringTimings](#realusermonitoringtimings)
- [User](#user)
- [Native Crash Reporting](#native-crash-reporting)
- [Generating Sourcemaps](#generating-sourcemaps)

---

Expand Down Expand Up @@ -825,4 +826,13 @@ This ensures that the platform providers are initialized before the React Native
Setting `disableNativeCrashReporting` to `false` also disables all communication between Raygun4ReactNative and the platform providers,
therefore data like breadcrumbs or user information won't be accesible by the platform providers.

## Generating Sourcemaps

Source Maps helps convert minified JavaScript code back into source code. Raygun uses them to take unreadable errors generated from minified JavaScript, translate them to be readable, and include code snippets from your source.

To generate them in your app, refer to the React Native documentation:
[Enabling sourcemaps for debugging release builds](https://reactnative.dev/docs/debugging-release-builds).

Once your sourcemaps have been generated, follow the instructions in the [JavaScript Source Maps documentation](https://raygun.com/documentation/language-guides/javascript/crash-reporting/source-maps/) to upload them.

---

0 comments on commit b19514b

Please sign in to comment.