All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.io.sentry.kotlin.multiplatform.SentryInit.kt Maven / Gradle / Ivy

package io.sentry.kotlin.multiplatform

import io.sentry.Sentry
import io.sentry.kotlin.multiplatform.extensions.toJvmSentryOptionsCallback

// The context is unused here and only implemented to satisfy the expect
actual abstract class Context

actual fun initSentry(context: Context?, configuration: OptionsConfiguration) {
    val options = SentryOptions()
    configuration.invoke(options)
    Sentry.init(options.toJvmSentryOptionsCallback())
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy