touchlab / Kermit

Kermit by Touchlab is a Kotlin Multiplatform centralized logging utility.
https://kermit.touchlab.co
Apache License 2.0
701 stars 40 forks source link

Unable to setup Crashlytics - Unresolved reference #324

Closed schmidt9 closed 1 year ago

schmidt9 commented 1 year ago

I followed this manual https://github.com/touchlab/Kermit/blob/main/kermit-crashlytics/README.md#step-2-setup-kermit-crash-logging, but was unable to build my app because of import issue, this is screenshot from iosMain target. What's wrong here?

Снимок экрана 2023-02-03 в 17 03 38

kpgalligan commented 1 year ago

Looks like the docs need to be fixed. We updated a lot of how the crash reporting works under the hood in the last release.

Here's the call: https://github.com/touchlab/Kermit/blob/main/samples/sample-crashlytics/shared/src/iosMain/kotlin/co/touchlab/kermitsample/Helper.kt#L21

setCrashlyticsUnhandledExceptionHook()

I updated that doc. Let me know if that works.

schmidt9 commented 1 year ago

I updated that doc. Let me know if that works.

You did not update sorry https://github.com/touchlab/Kermit/blob/main/kermit-crashlytics/README.md#ios

schmidt9 commented 1 year ago

But it works now thanks