Firebase Crash Reportingplat_iosplat_android

Comprehensive and actionable information to help diagnose and fix problems in your app.

Crash Reporting creates detailed reports of the errors in your app. Errors are grouped into clusters of similar stack traces and triaged by the severity of impact on your users. In addition to automatic reports, you can log custom events to help capture the steps leading up to a crash.

Crash Reporting is currently in beta release while we resolve some known issues on Android and iOS.

To report server-side errors, we recommend using Google Stackdriver Error Reporting which supports Node.js, Python, Go, Java, PHP and Ruby errors.

iOS SETUP Android Setup

Key capabilities

Monitor fatal and non-fatal errors Monitor fatal errors in iOS and fatal and non-fatal errors in Android. Reports are triaged by the severity of impact on users.
Collect the data you need to diagnose problems Each report contains a full stack trace as well as device characteristics, performance data, and user circumstances when the error took place. Similar reports are automatically clustered to make it easier to identify related bugs.
Integrate with Analytics Errors captured are set as app_exception events in Analytics, allowing you to filter audiences based on who sees errors.
Free and easy Crash Reporting is free to use. Once you've added Firebase to your app, it's just a few lines of code to enable comprehensive error reporting.

Implementation path

Connect your app Start by adding Firebase to your new or existing app in the Firebase console.
Update project dependencies Crash Reporting is enabled as soon as you add the necessary dependencies to your Podfile on iOS or Gradle file on Android. Once enabled, crash data will begin appearing in the Firebase console.
Add custom logs Custom log messages supplement the details automatically sent in a crash report. Pass custom data as a string to `FIRCrashLog()` on iOS or `Crash.log()` on Android, and you'll see the results in the Firebase console.

User privacy

Firebase Crash Reporting does not itself collect any personally identifiable information (such as names, email addresses, or phone numbers). Developers can collect additional data using Crash Reporting with log and exception messages. Such data collected through Crash Reporting should not contain information that personally identifies an individual to Google.

Here is an example of a log message that does not contain personally identifiable information:

FirebaseCrash.log("SQL database failed to initialize");
And here is another one that does contain personally identifiable information:
FirebaseCrash.log(user.getEmailAddress() + " purchased product " + product.getID());
If identifying a user is necessary to diagnose an issue, then you must use adequate obfuscation measures to render the data you send to Google anonymous.

Send feedback about...

Need help? Visit our support page.