getsentry / sentry-kotlin-multiplatform

Sentry SDK for Kotlin Multiplatform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make `setSentryUnhandledExceptionHook` public

chrisbanes opened this issue · comments

Problem Statement

We have a mixed KMP and native app, meaning that the limited configuration options available via this library, limit what we can enable on both the Android and iOS sides.

On the iOS side, AFAICT the only thing library does is called SentrySDK along with setting an unhandled exception handler.

Solution Brainstorm

Since I would rather call SentrySDK.start {} in Swift, can we make the setSentryUnhandledExceptionHook function public?

hi @chrisbanes thanks for the FR, I think this makes sense to expose it, we'll discuss internally and make it public in the next SDK version. Will keep you posted!

This is now released with 0.6.0