- 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.
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)
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'
}
- Add more customizability to the tracking
- Add support for obfuscated files (Obfuscated stacktrace is almost useless)