DataDog / dd-sdk-kotlin-multiplatform

Datadog SDK for Kotlin Multiplatform
Apache License 2.0
4 stars 0 forks source link

RUM-4415: Add crash reporting #35

Closed 0xnm closed 3 months ago

0xnm commented 3 months ago

What does this PR do?

This is a first PR in the series of the PRs adding error/crash tracking functionality to the KMP SDK.

To make things work for iOS I had to update Kotlin to version 2.0.20-Beta1, because previous KMP versions are not compatible with PLCrashReporter: in case of crash application just hangs.

Unfortunately, Mokkery is not yet compatible with Kotlin 2.0.20, so I had to disable tests using it for a while.

In the next PRs I will address cross-boundary exception propagation, because KMP installs its own runtime and there is a difference in the exceptions from KMP world vs Swift (more here).

Review checklist (to be filled by reviewers)