Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

### Dependencies

- Bump Java SDK from v6.33.1 to v7.0.0 ([#157](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/157))
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#700)
- [diff](https://github.com/getsentry/sentry-java/compare/6.33.1...7.0.0)
- Bump Cocoa SDK from v8.4.0 to v8.17.1 ([#158](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/158))
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8171)
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.4.0...8.17.1)
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ object Config {
object Libs {
val kotlinStd = "org.jetbrains.kotlin:kotlin-stdlib"

val sentryJavaVersion = "6.33.1"
val sentryJavaVersion = "7.0.0"
val sentryAndroid = "io.sentry:sentry-android:$sentryJavaVersion"
val sentryJava = "io.sentry:sentry:$sentryJavaVersion"

Expand Down Expand Up @@ -67,7 +67,7 @@ object Config {
object Android {
private val sdkVersion = 33

val minSdkVersion = 16
val minSdkVersion = 19
val targetSdkVersion = sdkVersion
val compileSdkVersion = sdkVersion
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import io.sentry.kotlin.multiplatform.extensions.toKmpUser
import io.sentry.kotlin.multiplatform.protocol.Breadcrumb
import io.sentry.kotlin.multiplatform.protocol.User

internal class JvmScopeProvider(private val scope: JvmScope) : Scope {
internal class JvmScopeProvider(private val scope: JvmIScope) : Scope {

override var level: SentryLevel?
set(value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ internal actual object SentryBridge {
Sentry.close()
}

private fun configureScopeCallback(scopeCallback: ScopeCallback): (JvmScope) -> Unit {
private fun configureScopeCallback(scopeCallback: ScopeCallback): (JvmIScope) -> Unit {
return {
val jvmScopeProvider = JvmScopeProvider(it)
scopeCallback.invoke(jvmScopeProvider)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package io.sentry.kotlin.multiplatform

import io.sentry.Attachment
import io.sentry.Breadcrumb
import io.sentry.IScope
import io.sentry.Scope
import io.sentry.SentryEvent
import io.sentry.SentryLevel
Expand All @@ -16,6 +17,7 @@ import io.sentry.protocol.User
internal typealias JvmSentryLevel = SentryLevel
internal typealias JvmUser = User
internal typealias JvmScope = Scope
internal typealias JvmIScope = IScope
internal typealias JvmBreadcrumb = Breadcrumb
internal typealias JvmSentryId = SentryId
internal typealias JvmSentryOptions = SentryOptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id("com.android.application")
kotlin("android")
id("io.sentry.android.gradle") version "3.5.0"
id("io.sentry.android.gradle") version "4.0.0"
}

android {
Expand Down Expand Up @@ -32,7 +32,7 @@ android {
}

dependencies {
implementation(rootProject.project(":sentry-samples:kmp-app-spm:shared"))
implementation(rootProject.project(":sentry-samples:kmp-app-cocoapods:shared"))
implementation("com.google.android.material:material:1.6.1")
implementation("androidx.appcompat:appcompat:1.4.2")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
Expand Down
5 changes: 2 additions & 3 deletions sentry-samples/kmp-app-cocoapods/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ kotlin {
}

android {
compileSdk = 32
compileSdk = Config.Android.compileSdkVersion
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
defaultConfig {
minSdk = 27
targetSdk = 32
minSdk = Config.Android.minSdkVersion
}
}
2 changes: 1 addition & 1 deletion sentry-samples/kmp-app-spm/androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id("com.android.application")
kotlin("android")
id("io.sentry.android.gradle") version "3.5.0"
id("io.sentry.android.gradle") version "4.0.0"
}

android {
Expand Down