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.
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:
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.
Since Google has deprecated [CODE]Android_ID[/CODE] we’ve switched user information to a randomly generated user ID for each installation. You can see a full list of changes and bug fixes in our changelog.
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 [CODE]build.gradle[/CODE] file.
We’ve increased our [CODE]minSdkVersion[/CODE] to 14, so if you are supporting older versions of Android, you will also need to increase the [CODE]minSdkVersion[/CODE] to 14 or above in order to use this release.