Skip to content

getsentry/sentry-kotlin-multiplatform

Repository files navigation

Shows a black logo in light color mode and a white one in dark color mode.

Sentry SDK for Kotlin Multiplatform

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

This SDK is a wrapper around different platforms such as JVM, Android, iOS, macOS, watchOS, tvOS that can be used on Kotlin Multiplatform.

Kotlin KDoc link

Packages Maven Central
sentry-kotlin-multiplatform Maven Central

Supported Platforms

Target Platform Target preset
Android
  • android
Kotlin/JVM
  • jvm
iOS
  • iosArm64
  • iosX64
  • iosSimulatorArm64
macOS
  • macosArm64
  • macosX64
watchOS
  • watchosArm32
  • watchosArm64
  • watchosX64
  • watchosSimulatorArm64
tvOS
  • tvosArm64
  • tvosX64
  • tvosSimulatorArm64

Cocoa SDK Version Compatibility Table

Every version of our Kotlin Multiplatform SDK is compiled with a specific version of the Sentry Cocoa SDK. Use the Kotlin Multiplatform and Cocoa SDK combinations listed in the table below to ensure the best compatibility and stability.

Kotlin Multiplatform SDK Version Cocoa SDK Version
0.6.0 8.25.0
0.7.0, 0.7.1 8.26.0
0.8.0, 0.9.0 8.36.0
0.10.0 8.38.0

Usage

For detailed usage, check out the Kotlin Multiplatform Documentation.

Samples

For detailed information on how to build and run the samples, check out our README.md in the sentry-samples folder.

Apple Privacy Manifest

Starting with May 1st 2024, apps submitted to the Apple App Store are required to declare approved reasons to access certain privacy-relevant APIs. This also includes usages of these APIs via third-party SDKs. To ensure compliance, update your Sentry Cocoa SDK to 8.21.0. For more information, refer to our Apple Privacy Manifest Guide.

Contribution

Please see the contribution guide before contributing

Resources

  • Kotlin Multiplatform Documentation
  • Discussions
  • Discord Chat
  • Stack Overflow
  • Code of Conduct
  • Twitter Follow