Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: How to get information about caught exceptions in Google Play Developer Console?

When an app which is deployed in Google Play Store crashes, you see these crash reports. Let's say I have exceptions which are caught and logged with Log.e, is there a way to see these exceptions as well in any way? In other words: When I want to see errors that really matters for my workflow, is the only way to see these exceptions in Google Play Developer Console to throw a RuntimeException inside the app to crash the app by intention? (That would be really stupid).

Background: I currently implement in-app billing. There are really a lot of phases where possible exceptions can occur while the purchase process. If a customer will contact me and asks why the purchase process didn't work, how should I know if I don't see any information in Google Play Developer Console?

like image 346
Bevor Avatar asked Dec 28 '17 11:12

Bevor


2 Answers

You can use Firebase Crashlytics

Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. Crashlytics saves you troubleshooting time by intelligently grouping crashes and highlighting the circumstances that lead up to them.

Key capabilities

  • Curated crash reports

    Crashlytics synthesizes an avalanche of crashes into a manageable list of issues, provides contextual information, and highlights the severity and prevalence of crashes so you can pinpoint the root cause faster.

  • Enhanced environment info

    Crashlytics allows you to filter reports by operating system, version, hardware configuration, and more. Find out if your app is crashing more frequently on a particular manufacturer's devices, with certain API versions, or even in a specific screen orientation.

  • Realtime alerts

    Get realtime alerts for new issues, regressed issues, and growing issues that might require immediate attention.

Get started with Firebase Crashlytics

like image 155
Goku Avatar answered Sep 27 '22 17:09

Goku


you can use Fire base crash report service.i have attached the codelabs sample code(Official docs). sample code

like image 23
Ankit kumar singh Avatar answered Sep 27 '22 18:09

Ankit kumar singh