CrashKiOS

CrashKiOS - Crash reporting for Kotlin/iOS

Thin library that provides symbolicated crash reports for Kotlin code on iOS. Supports sending crashes, and handled exceptions, as well as logging breadcrumbs and custom key/value pairs. Currently supported crash reporting services are Firebase Crashlytics and Bugsnag.

To use crash reporting with general logging support, check out Kermit.

If you’re wondering why you need this library, please see the problem.

Crashlytics publishing issue

KMP linking to native iOS builds can be complex and brittle. Users have reported that published release builds using CrashKiOS and Crashlytics may fail with certain configurations. We have plans for a significant refactor of CrashKiOS to limit all linking issues, but if you are using Crashlytics today and have issues, see the workaround.

NSExceptionKt

CrashKiOS and Kermit previously created 2 reports on a crash because none of the crash reporting clients had an obvious way to do one. Rick Clephas has done some excellent work figuring that out with NSExceptionKt. CrashKiOS now uses part of that library as a base and we’ve merged the cinterop from Kermit and NSExeptionKt to handle crashes as well as breadcrumb values and log statements.

Getting Help

CrashKiOS support can be found in the Kotlin Community Slack, request access here. Post in the “#touchlab-tools” channel.

For direct assistance, please contact Touchlab to discuss support options.