rickclephas / NSExceptionKt

A Kotlin Multiplatform Library to improve crash reports on Apple platforms
MIT License
168 stars 12 forks source link

How does this compare to Sentry KMP? #22

Closed PaulWoitaschek closed 9 months ago

PaulWoitaschek commented 9 months ago

Hey Rick!

Thanks for building this library <3

I wonder: How does this compare to the sentry KMP library? https://github.com/getsentry/sentry-kotlin-multiplatform

If we're using sentry: Does your integration do more than the official one?

rickclephas commented 9 months ago

Hi! So I am not really up-to-date on the state of the Sentry KMP SDK. However the major difference is that NSExceptionKt only solves the unhandled Kotlin exceptions issue. The Sentry SDK would (eventually) provide a lot more functionality that you can already find in their native SDKs. For the unhandled Kotlin exceptions their SDK is using the same logic as NSExceptionKt.

TLDR: if possible I would go with their official SDK 😇.

buenaflor commented 9 months ago

Hey! The SDK includes Rick's implementation for fixing unhandled exceptions and adds support for using Sentry directly in KMP (not only kotlin/native).

Interesting integrations other than error monitoring include for example screenshots, view hierarchies, etc We are also currently working on adding support for performance monitoring

Feel free to open a discussion or issue in the repo if you have any other question 😄

rickclephas commented 6 months ago

Note: as of v1.0.0-BETA-1 the Sentry implementation is deprecated in favour of the official Sentry Kotlin Multiplatform SDK.