Tracking app usage and crashes
When your app is in production use, it can be very hard to know how the app is being used and whether your users are encountering issues. Knowing when there are issues with app usage or crashes at the earliest opportunity is especially important when your app is released on mobile stores because the update cycle can take days.
There are two Firebase tools that are great for tracking this information, Crashlytics and Google Analytics, and we looked at how to set them up in Chapter 10, Popular Third-Party Plugins. In this chapter, let’s take a look at some of the output that is generated and how that can help us as we improve our app.
Crashlytics
Every time your app has an unexpected crash, or you specifically send a crash report from within your code, Crashlytics will receive that information and display it on the dashboard.
This can be especially useful if you have an asynchronous operation that doesn’t directly impact the running...