FabricPlugin
FabricPlugin copied to clipboard
Missing log on simulate crash
Hi all,
I'm using this plugin on Android app but I can't see any log sent with window.fabric.Crashlytics.addLog
method. For example if I execute
window.fabric.Crashlytics.addLog("about to send a crash for testing!");
window.fabric.Crashlytics.sendCrash();
in Fabric I obtain:
Fatal Exception: java.lang.RuntimeException
This is a crash
I would send error's stack trace before execute sendCrash
function, but how?
Thank you
Same here. Actually I don't see even this: window.fabric.Crashlytics.sendNonFatalCrash("Error message"); the only thing that actually works seem to be : window.fabric.Crashlytics.sendCrash(); and this happens on both Android and iOS Ionic apps.
Any thought?
Okay for me this was simply a matter of Crashlytics somewhat confusing dashboard UI. Basically when you open an issue you have to view all sessions.

Once on that page you can use the toggle to show logs:
