Closed Gerarduu closed 4 years ago
I assume you are restarting the app? Also, I think in JS you will need to install a global error handler to catch that error and log it as the app itself isn't actually crashing. It needs to crash in the native code to be automatically reported.
No response so closing issue
I have the same error.
When i simulate a crash, the crash is reported into crashlytics console.
And nothing is reported into crashlytics console when i do
crashlytics.logException(error.stack);
I use a global handler in Ionic to send errors.
Expected Behavior
To show a Javascript crash on the Firebase Console.
Actual Behavior
Not showing a Javascript crash on the Firebase Console.
Steps to Reproduce the Problem
If i do a manual log, for example:
Or if, for example I simulate a crash:
crashlytics.crash();
It works correctly.
But if I force a crash with Javascript, it doesn't show anything on the console. I'm putting the code on the beginning of my app. It crashes and it shows the crash on the local logs, but when I go to the Firebase Console, it not shows the crash.
This is what I write to force a crash:
In my chrome console it shows:
And this message should appear to the Firebase Console, but it doesn't appear.
Specifications