Open rohitgoyal opened 7 years ago
Similar case here
I can see the react native report in fabric if I use something like below via react-native-fabric
Crashlytics.recordError('something went wrong!');
but no report will be shown in fabric if it's a crash issue or unhandled issue. For exapmle, it does not show in fabric if i use something like this:
var err = new Error('my error')
throw err
I'm assuming its hard to know what the issue is without seeing some code. If you aren't calling the init
function then the global error handler will never be set.
I have the same issue as @ikzjfr0 on ios. The recordError function is working, but an uncaught crash is not reported in Crashlytics.. On top of that, the app doesn't crash anymore in release mode on my device. It still crashes in the emulator though (red screen)
==> and obviously init() is called in my index.js file and I am not in DEV mode
IOS debug output says:
2017-06-26 14:51:23.377 [error][tid:com.facebook.react.JavaScript] 'uncaught', ''
2017-06-26 14:51:23.378022+0200 MyApp[1645:530971] 'uncaught', ''
I have integrated this library. Now I am confused what kind of crash report would I be getting. I am getting this as crash report for one of the crash which is a react-native crash and not a ObjC/Swift crash.