Introducing automatic breadcrumbs for Android
Today we’re announcing a major release of our Android error reporting library including automatic breadcrumbs. We’ve also implemented many improvements to modernize the library and improve your experience using it.
What are automatic breadcrumbs?
Android breadcrumbs will show you a timeline of navigation events and system broadcasts leading up to the crash being detected by Bugsnag. This timeline of breadcrumbs makes it easy to see how your user interacted with your app and how it might have triggered a crash. It can also help in reproducing crashes in a faster, more straightforward way. Here are some of the types of breadcrumbs we’ll capture on Android:
- Activity lifecycle (screens navigated to)
- Network connectivity
- Bluetooth connection status
- Low battery
- Turning the screen on and off
- Other device metrics and more
In addition to automatic breadcrumbs, you can also manually log your own breadcrumbs with information unique to your application. These can also help you debug your app effectively.
You’ll find breadcrumbs attached to each error report where Bugsnag was able to capture them.
Other improvements and changes
What does this mean for me?
Existing Bugsnag users should upgrade the Bugsnag Android library to 4.0.0, our latest version. You’ll just need to change the version number for the Bugsnag notifier in the
We’ve increased our
minSdkVersion to 14, so if you are supporting older versions of Android, you will also need to increase the
minSdkVersion to 14 or above in order to use this release.
🚀 Bugsnag is hiring! · https://www.bugsnag.com/jobs/