Crashlytics Integration
If you’re using Crashlytics for crash reporting, it will work out-of-the-box with Shorebird releases and patches. However, if you have multiple patches, it can be unclear which patch caused the crash. This document shows how you can use Crashlytics to differentiate between patches.
shorebird_code_push is available on pub.dev and lets you programmatically determine your app’s current patch number. To add it to your project, follow the instructions on the package’s pub.dev page.
If you haven’t already, follow the Crashlytics getting started with Flutter guide.
Update the Firebase init code to include the patch number as a custom key. This will look something like: