sarriaroman / FabricPlugin

Fabric.io plugin for Cordova or Phonegap
MIT License
198 stars 159 forks source link

Cordova app crash is not displaying in firebase or fabric console #161

Open kalaiprakash93 opened 4 years ago

kalaiprakash93 commented 4 years ago

Hi, I have created cordova project with adding this plugin and secret keys. For ios am testing it.

cordova-ios :4.5.4 cordova cli:8.0.0

I have added following code for force app crash

 window.fabric.Crashlytics.addLog("about to send a crash for testing!");
 window.fabric.Crashlytics.setUserIdentifier("123");
 window.fabric.Crashlytics.setUserName("Some Guy");
 window.fabric.Crashlytics.setUserEmail("some.guy@email.com");
 window.fabric.Crashlytics.setStringValueForKey("bar", "foo");
 window.fabric.Crashlytics.sendCrash();

while opening the app, the app is crashing again i have reopening the app.working fine. But I couldn't able to see the crash report in Firebase/fabric dashboard.

Please help me out of this. I couldn't found any errors while making build or using app.