Setup

implementation("co.touchlab:kermit:1.0.3")
implementation("co.touchlab:kermit-crashlytics:1.0.3")
Logger.addLogWriter(CrashlyticsLogWriter())

 

val ex = SomeException()
Logger.e(ex) { "We have a problem..." }

 

val ex = NotImportantException()
Logger.i(ex) { "We have a problem..." }

 

iOS Crash Handler

setupCrashlyticsExceptionHook(Logger)

Configuration Notes

Static

dependencies {
    implementation("co.touchlab:kermit-crashlytics-test:1.0.3")
}

Dynamic

cocoapods {
    //Other config
    framework {
        isStatic = false
    }
    pod("FirebaseCrashlytics")
}

Usage

 

Find the crash key

Search for matching reports

Missing dsyms?

Same exception, with debug info.

Work at Touchlab!

If you want to help define the future of Kotlin, and like living a bit on the edge technically speaking, please reach out!

Careers at touchlab