Catch all the locks and go to Google Analytics

Is there a way to intercept FC before it leaves my application so that I can register it with Google Analytics? I understand that Force Closes comes from uncaught exceptions, but I don't want to surround every Try / Catch method.

I know that the real answer is to write more secure code, but I thought that my code is already strong enough. I was surprised to find several new bugs registered by users with things like OutOfMemoryExceptions and Admob. I would rather not rely on the kindness of users to send me errors.

+3
source share
3 answers
+2

, APP FC ACRA, Idk, Google Analytics, Google.

ACRA

0

Include the code below in the analytics.xml file, this will track all of your uncaught exceptions with a description:

True

See: https://developers.google.com/analytics/devguides/collection/android/v2/exceptions for more details.

0
source

All Articles