FabricPlugin icon indicating copy to clipboard operation
FabricPlugin copied to clipboard

Missing log on simulate crash

Open lcaprini opened this issue 7 years ago • 2 comments

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

lcaprini avatar Jun 29 '17 12:06 lcaprini

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?

cuginoAle avatar Nov 28 '17 17:11 cuginoAle

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.

screen shot 2017-12-05 at 10 57 56 am

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

screen shot 2017-12-05 at 10 54 38 am

dland512 avatar Dec 05 '17 17:12 dland512