Firebase 101

Receive aemail containing the next unit.

Firebase Crashlytics

Making Use of Crashlytics Data

error, flaw, failure or fault in a computer program/system that produces an incorrect or unexpected result or causes it to behave in unintended ways

Error, flaw, failure or fault in a computer program/system that produces an incorrect or unexpected result or causes it to behave in unintended ways.

Firebase Crashlytics is a powerful tool that provides real-time crash reporting for your app. It helps you track, prioritize, and fix stability issues that can degrade your app quality. In this article, we will delve into how to make the most of the data provided by Crashlytics.

Understanding Crash Reports

Crashlytics groups similar crashes together and presents them as issues in the Firebase console. Each issue provides detailed information about the number of users affected, the number of crashes, and the versions of your app where crashes occurred. This information can help you prioritize which issues to address first.

Navigating the Crashlytics Dashboard

The Crashlytics dashboard is your central hub for viewing crash data. It provides a summary of the most critical information about your app's stability. The dashboard includes graphs for crash-free users and crash-free user sessions, a list of issues, and a detailed view of each issue.

Interpreting Crash Report Data

Each crash report in Crashlytics includes a stack trace, which shows the state of the call stack at the time of the crash. This can help you pinpoint the exact line of code that caused the crash. Crashlytics also provides information about the device and operating system on which the crash occurred, which can help you identify patterns and trends in your crashes.

Prioritizing Issues Based on Impact

Crashlytics helps you prioritize issues based on their impact on users. It provides an 'impact level' for each issue, which is a combination of the number of users affected and the number of times the issue has caused crashes. Issues with a higher impact level are typically more critical to fix.

Using Custom Keys and Logs to Provide Additional Context for Crashes

Crashlytics allows you to record custom keys and logs, which can provide additional context for crashes. Custom keys are key-value pairs that you can associate with your crash data, while logs are messages that you can insert into your code to provide additional information about the state of your app at the time of a crash.

Tracking Non-Fatal Errors

In addition to crashes, Crashlytics can also track non-fatal errors. These are errors that do not cause your app to crash but can still degrade the user experience. Tracking non-fatal errors can help you identify and fix issues before they lead to crashes.

Managing and Monitoring App Stability

Crashlytics provides several tools to help you manage and monitor your app's stability. You can set up alerts to be notified of new issues, monitor the crash-free users metric to track your app's overall stability, and use the version breakdown to see how stability varies between different versions of your app.

By leveraging the data provided by Firebase Crashlytics, you can gain a deeper understanding of your app's stability issues and take action to improve the quality of your app.