4
votes

Can you help us please with these great tools integration. Our React Native iOS project has been using Crashlytics for several months and it works well in case of native crashes but in case of JS exceptions it required some customization of react-native logging (this Medium articles helped a lot to reach as verbose JS output as possible). In the end we didn't have as good JS errors output as we would like to have.

So we decided to integrate Sentry as well. It was done successfully, but it seems that Sentry outpaces Crashlytics catching crashes before it: we can see crashes in Sentry dashboard but no in Crashlytics' one.

My question is the next: is it possible to integrate both Crashlytics and Sentry for both case - native crashes AND JS exceptions?

Thank you in advance.

UPD 06.03.2019 Finally, we've come to the usage of only Sentry because of the next reasons:

  1. first of all, it doesn't require any special code for the JS events & errors well-formated output, whereas Crashlytics does;
  2. second, it doesn't require any manipulation with dSym files released (and probably encrypted) via Testflight;
  3. third, it also catches native crashes and provides a verbose output as well.
2
Two years have passed since you have written your question so you have probably gained much more experience. I want to integrate crash reporting in my react native app. Do you still recommend Sentry? I used Crashlytics briefly 18 months ago and I remember that it did caught crashes caused by the react-native js code. Am I wrong? Are you saying that if my js code causes a crash (e.g. devide by zero...), Crashlytics won't report it, even today (I assume that improvements were made to Crashlytics in the last 2 years)? Also, any idea who it is pricing-wise, crashlytics vs. sentry? - Yossi
@Yossi I must say that when we decided to leave only Sentry, we have never been sorry to have done so. I am not informed about the pricing, but in general, we're completely happy and satisfied with Sentry. We have never had any problems logging any native or JS errors there. Of course, maybe Crashlitics have improved something recently. I know it's become a part of the Firebase, so maybe integration became easier. But Sentry is a really cross-platform solution - docs.sentry.io/platforms. So, you can handle errors of the whole system, not only the RN part. - styleofspur
Thanks much, @styleofspur! One last question (promise ;): how much do you pay for Sentry per month? How many users are running your app simultaneously? Or any other info that can help me understand how much I will need to pay... - Yossi
@Yossi no problem, you're welcome :) Sentry costs, as I know, don't depend on the number of users running the app simultaneously. sentry.io/pricing - we use a Team package - styleofspur
Thanks a lot! :) - Yossi

2 Answers

2
votes

Sentry has support to React Native which includes the JS and Native errors (both iOS and Android).

I'm totally biased as I work for Sentry but it seems to me, based on your requirements and the two options you listed, Sentry is the one which has the support you need.

0
votes

Mike from Fabric here. On iOS, only one uncaught exception handler can be safely installed and there will be conflicts, like you're seeing if multiple handlers are installed.