How to get crash logs for React Native app? -
my react native app crashed on tester's phone.
what best way logs of crash? i'm using react native 0.14.2
as @abhishek has commented, you'll have use monitoring tools crashlytics
such infomation.
fabric option in case. comes crashlytics solution.
here blogpost explains in-depth on how set app.
here's excerpt of features of crashlytics tool of fabric blogpost
crash reporting —it record every single crash , stack trace. way better itunes connect crash reports, include info of users opted in share information developers while setting new iphone. it’s not updated in real-time (you can read more here).
crash logs — (a.k.a. cls_log) if you’re familiar objective-c, have been using “nslog” while you’re developing app. should use cls_log instead. there’s no difference @ when you’re debugging (whatever you’re logging still show in console) cool part when user crashes app, information sent crashlytics’s servers next time user launches app, including content you’ve logged through cls_log. if log information of actions/events in app, can read logs later , reproducing crash should simple.
Comments
Post a Comment