question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React-Native End-to-End Example

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
benvinegarcommented, Oct 19, 2016

By drop-in usage, I meant react-native-trackjs and react-native-fabric-crashlytics can be used like this and start reporting exceptions:

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.

1reaction
atticooscommented, Mar 23, 2017

Thanks for the update @benvinegar. Using this new project will resolve the minified source issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native end-to-end testing with Detox
Demo running end-to-end tests in React Native with Detox, an end-to-end framework for mobile apps developed by Wix.
Read more >
End-to-End Testing of React Native Apps: Tutorial
Performing E2E testing of React Native apps using Detox · Install the latest version of Node. · Install any IDE of your choice....
Read more >
Testing
In end-to-end (E2E) tests, you verify your app is working as expected on a device (or a simulator / emulator) from the user...
Read more >
End-to-End Tests | ReactNativeTesting.io
End-to-End Tests. What is End-to-End Testing?​. End-to-end tests exercise your entire application the way a user would, simulating taps and checking for ...
Read more >
React Native End-to-End Testing - Marius Reimer - Medium
End-to-End (E2E) testing is the practice of running your app on a real device or simulator and interacting with it like a real...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found