Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

getsentry/sentry-kotlin-multiplatform

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
sentry-kotlin-multiplatform-gradle-plugin 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

Stubbed Platforms (No-Op Implementations)

You can add these targets to your Kotlin Multiplatform project just like the supported ones.
They compile and satisfy the API surface, but do nothing at runtime.

Target Platform Target preset
JS
  • js
Wasm JS
  • wasmJs
Linux
  • linuxx64
  • linuxarm64
Windows
  • mingwx64

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
0.11.0 8.44.0
0.12.0 8.49.0 (Xcode 16.3 compatible)
0.13.0 8.49.1
0.14.0 8.53.1
0.15.0, 0.16.0, 0.17.0, 0.17.1, 0.18.0 8.53.2
0.19.0 8.55.1

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

Sponsor this project

Packages

No packages published

Contributors 17

AltStyle によって変換されたページ (->オリジナル) /