On Android, when forcing a crash with firebase.crashlytics().crash();
, app throws an error as shown here:
I use my own device connected via USB.
Android
macOS Mojave
Android Studio
React Native
version:0.55.6
React Native Firebase
Version:4.3.8
Firebase
Module:Crashlytics
typescript
?no
This is as intended - crash()
causes a crash for testing purposes as indicated in the docs:
https://rnfirebase.io/docs/v5.x.x/crashlytics/reference/crashlytics#crash
I'm getting this as well, it doesn't seem to actually be crashing my app, where as on iOS the app actually crashes and reports an error to the firebase console. (None here for android).
Same. I would expect calling this function would show a fatal crash on the firebase dashboard with a stacktrace.
How can we cause a crash due to "react native"? To see if this also works?
crashlytics {
enableNdk true
}
Most helpful comment
This is as intended -
crash()
causes a crash for testing purposes as indicated in the docs:https://rnfirebase.io/docs/v5.x.x/crashlytics/reference/crashlytics#crash