touchlab / CrashKiOS

Crash reporting for Kotlin/Native iOS applications
https://crashkios.touchlab.co/
Apache License 2.0
276 stars 15 forks source link

Add versions of bugsnap and crashlytics that don't require cinterop #44

Closed kpgalligan closed 6 months ago

kpgalligan commented 1 year ago

Building and linking with the current versions of Bugsnag and Crashlytics can get complex because we have cinterop for the client libraries, but we don't link to them directly. We used to simply tell the dev to copy/paste some Swift code to do this, which avoided many of the issues involved with the cinterop approach.

We could split the modules to have a "core" version of each that simply defined an interface, then have one published with cinterop, and just using the core with a Swift copy/paste implementation.