Reputation: 1793
I've been following the docs here and have made it all the way to the point where I've installed it and am trying to send an error. I added a button to my page that when pressed just does:
throw new Error('Test Error for Crashlytics')
. I've got it running in my simulator as well as an ad-hoc install of the app onto my phone, but no matter how many times I make my app error, the Crashlytics page in Firebase just shows
I've seen that this can take some time, but I've been waiting about 2 hours now since the first error and about 30 min since I last tried and still nothing. Not really to sure what to try next, I can't seem to find any documentation on how to possibly debug what is going on as well.
Upvotes: 4
Views: 1433
Reputation: 418
Firebase crashlytics will automatically record crashes so you won't need to add anything, unless you have custom requirement. For that you need to follow the this documentation.
And for forcing your app to crash, actually you can use
Crashlytics.getInstance().crash();
here is the tutorial from firebase documentation.
Upvotes: 1