Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Offline crash reporting in Crashlytics

I intentionally crashed my application when there was no WIFI to check whether the crash report is updated in Crashlytics and it didn't get updated as there was no WIFI. But when i turned on the wifi the crash didn't get reported. But if i again crash my application when the wifi is switched on. The crash report for this crash along with the crash which occurred when the wifi was off got updated. I'm not able to figure out the reason behind it. Any help would be appreciated.

like image 862
Avinash Avatar asked Sep 04 '13 11:09

Avinash


People also ask

How do you check logs in Crashlytics?

Crashlytics associates the logs with your crash data and displays them in the Crashlytics page of the Firebase console, under the Logs tab.

How does Crashlytics work?

Crashlytics saves you troubleshooting time by intelligently grouping crashes and highlighting the circumstances that lead up to them. Find out if a particular crash is impacting a lot of users. Get alerts when an issue suddenly increases in severity. Figure out which lines of code are causing crashes.

How do I enable debug logging in Crashlytics?

Enable debug logging for Crashlytics Enable debug logging: In Xcode, select Product > Scheme > Edit scheme. Select Run from the left menu, then select the Arguments tab. In the Arguments Passed on Launch section, add -FIRDebugEnabled .

How do I know if Firebase has crashed?

Once you have Crashlytics up and running in your app, you can navigate to Crashlytics in your Firebase Console underneath 'Quality' and start reviewing the reports as they come in. If this page still tells you to setup, build or run your app then you have not correctly setup Crashlytics in your app (see Usage).


2 Answers

Marc from Crashlytics here. If the app crashes without an active network connection, the report will still be caught! We always send crash reports on launch when there's an active connection. If that fails, we'll queue it to send later. :)

like image 187
marcr Avatar answered Sep 23 '22 18:09

marcr


Crashlytics is caching error reports and reporting them in batches.

To reduce your users' network traffic, Crashlytics batches logged exceptions together and sends them the next time the app launches. If you don't see logged exceptions in your Crashlytics web dashboard, try restarting your app!

http://support.crashlytics.com/knowledgebase/articles/202805-logging-caught-exceptions

like image 44
warpedspeed Avatar answered Sep 22 '22 18:09

warpedspeed