Skip to content

Small tool to override default Android's ExceptionHandler

License

Notifications You must be signed in to change notification settings

esabook/SilentCrash

Repository files navigation

Download sample app: released here

Usage:

Root/build.gradle or Root/settings.gradle

repositories {
    // my latest development snapshot
    maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots" }
}

Root/yourApp/build.gradle

dependencies {
    // my latest development snapshot
    implementation 'io.github.esabook:silentcrash:1.0.0-SNAPSHOT'
}

Init once at Application class or Activity class with

SilentCrash
    .init(application)
    .autoReloadAppON(true)

// optional
// add custom listener to deliver custom action
SilentCrash.getWatcher()?.setOnCrashListener(customAction)