React-Native End-to-End Example
See original GitHub issueI’ve read the docs, but they gloss over a few parts on the integrations, so I think it would be really helpful to have a proper React-Native end-to-end example available somewhere.
I’ve done some github searches trying to find react-native projects that automate the below, to no avail…
In particular:
The react-native doc suggests naming the artifacts specifically. But the sourcemap uploading doc glosses over artifact names, and instead mentions these parameters:
-F file=@app.js.map
-F name="http://example.com/app.js.map"
that leave me confused.
In theory, we should be able to extend the existing Android/iOS shell scripts to generate the source-map, create a new release, and upload the files, with the correct names. This would obviate the need for a bunch of documentation and manual plumbing, if this could be made automatic.
Especially if we are using the app-version as the release name in the shell scripts and JS, this shouldn’t be too difficult to correlate. This should be fetchable from JS via react-native-device-info.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:9 (4 by maintainers)
Top GitHub Comments
Sure, same here with our RN plugin. Except if you want source map support (and you should), you have to additionally upload them, which yeah, is extra work unfortunately.
I’ll look into adding an end-to-end example.
Thanks for the update @benvinegar. Using this new project will resolve the minified source issue?