Skip to content

A Custom Uncaught Exception Handler, which shows the stacktrace of the crash, the screens (Activities and Fragments) which lead up to the crash, and the intents and bundle data sent to those screens. You can also share the above data to other apps or just copy the text.

thelumiereguy/CrashWatcher-Android

Repository files navigation

CrashWatcher

A Custom Uncaught Exception Handler, which can be used to pinpoint crashes, which includes :

  • Stacktrace of the crash
  • The screens (Activities and Fragments) which lead up to the crash
  • The intents and bundle data sent to those screens
  • Share the above data to other apps or just copy the text.

Release API Twitter

Table of Contents

Example

Iscreen

Installation

You can either put this inside your Application class, or you can use something like AndroidX's Jetpack Startup Library to better optimize your app launch times. (You can check the sample here)

CrashWatcher.initCrashWatcher(context)  

Gradle setup

repositories {  
 maven { url 'https://jitpack.io' }  
}  
  
dependencies {  
 implementation 'com.github.thelumiereguy:CrashWatcher-Android:2.0.2'
 
 //OR 
 //if you only want to enable this in Debug Builds
 debugImplementation 'com.github.thelumiereguy:CrashWatcher-Android:2.0.2'
}  

TODO

  • Add more customizability to the tracking
  • Add support for obfuscated files (Obfuscated stacktrace is almost useless)

About

A Custom Uncaught Exception Handler, which shows the stacktrace of the crash, the screens (Activities and Fragments) which lead up to the crash, and the intents and bundle data sent to those screens. You can also share the above data to other apps or just copy the text.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages