getsentry / getsentry/sentry-react-native
Support Hosted Source Maps for RN Hermes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 367
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 94
Description
Description
Currently Hosted Source Maps are not supported at all for RN. Usage of hosted source maps in RN is not common as the bundled JS is shipped with the application package. The use case can be for companies who can't upload source maps due to internal policies.
For JSC (not recommended, not default) the support would mean only testing the current implementation and writing a documentation page, as it works the same as browser JS.
For Hermes we would need to update the sentry-cli upload command to support linking a source mapping url to a Hermes bytecode bundle.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing sentry-cli upload flow and comparing it with the current JSC hosted-source-map implementation. Check how Hermes bytecode bundles are handled, then add the documented behavior so Hermes bundles can link to a source-mapping URL; verify the JSC path and document it as well.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100