Hello everyone, i search a solution like Firebase ...
# multiplatform
m
Hello everyone, i search a solution like Firebase Crashlytics for my project in KMP/CMP. Have you some ideas ?
a
https://github.com/getsentry/sentry-kotlin-multiplatform - works fine for KMP but CMP support is not that great for non-Android yet.
➕ 1
f
Yes, Sentry is currently the best choice for KMP, it’s free for single developer
n
For CMP, one of the ways is that you use an
interface
in the
Shared
part and then implement the Firebase Crashlytics for each OS ( Android, iOS )
f
For better iOS stacktrace on crashlytics, the library https://github.com/rickclephas/NSExceptionKt is a requirement or crashkios
this library is also used by Sentry
t
Thanks Francois for linking to CrashKiOS, which also leverages NSExceptionKt (at least partially) Crashlytics was our first target. Also supports Bugsnag https://crashkios.touchlab.co/docs/ We were implementing Sentry, but when their 1st party solution came out (linked by Alexander above), we just deferred to their own solution
f
You should go for nsexceptionkt, it the most up to date
Crashkios use a out of date version of nsexceptionkit
Sentry also use nsexceptionkit