Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
100
rated 0 times [  102] [ 2]  / answers: 1 / hits: 22866  / 9 Years ago, tue, january 12, 2016, 12:00:00

I'm building my app using React Native and I want to catch crashes that happen on both Objective-C and JavaScript sides of the app.



I installed Crashlytics SDK using their guide and installer and everything went smooth. I do get to see crashes from the Objective-C side, but not crashes that occurs from JavaScript.



Do I need to do something special to catch JavaScript errors and report them to Crashlytics?



Thanks,
Ran.


More From » ios

 Answers
9

I just wrote a blog post about this:



Add Crashlytics to your React Native iOS app



The approach I took was to override the logging function of react native to be able to log my own stuff and see it on the crash logs and also generated a sourcemap in order to the see full stack trace.


[#63758] Saturday, January 9, 2016, 9 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ednakarolinal

Total Points: 187
Total Questions: 106
Total Answers: 118

Location: Saint Helena
Member since Mon, Jan 16, 2023
1 Year ago
;