Android SDK: Under the Hood

Android SDK: Under the Hood

How does the Applause Android SDK catch crashes?

The Android SDK makes use of the following method:

setDefaultUncaughtExceptionHandler 

Sets the default uncaught exception handler.

Where is the crash / bug data stored?

We have implemented our own extension of the UncaughtExceptionHandler (ApplauseUncaughtExceptionHandler). This handles all crashes from an application once the Android SDK is integrated into the app.

All crash data and bugs are stored in the application’s sandbox.

How often does the Applause Android SDK send data to Applause servers?

  • Bugs & Feedback are sent immediately as long as their is connectivity or as soon as connectivity is restored.
  • Crashes are stored and sent when the app restarts (this is because there is usually not enough time to send the data at the time of an app crash)
  • Logs are sent periodically (when a pre-sized buffer is filled) or if the data is consider ‘stale’.