Skip to content

Commit 72e7aba

Browse files
authored
Merge pull request #637 from Kommunicate-io/CM-2488
[CM-2488] Sentry Library Update | Android SDK
2 parents aabcd97 + 10141b8 commit 72e7aba

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ retrofit = "2.11.0"
3333
robolectric = "4.13"
3434
runner = "1.6.2"
3535
seleniumJava = "4.1.0"
36-
sentryAndroid = "6.28.0"
36+
sentryAndroid = "7.18.0"
3737
silicompressor = "2.2.4"
3838
swiperefreshlayout = "1.1.0"
3939
googleSecret = "2.0.1"

kommunicate/src/main/java/io/kommunicate/utils/SentryUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import android.content.Context
44
import io.kommunicate.devkit.api.account.user.MobiComUserPreference
55
import io.kommunicate.commons.data.PrefSettings
66
import io.kommunicate.BuildConfig
7-
import io.sentry.Scope
7+
import io.sentry.IScope
88
import io.sentry.Sentry
99
import io.sentry.protocol.User
1010

@@ -21,7 +21,7 @@ object SentryUtils {
2121
}
2222

2323
val appId = PrefSettings.getInstance(context).applicationKey
24-
Sentry.configureScope { scope: Scope ->
24+
Sentry.configureScope { scope: IScope ->
2525
// Setup Tags
2626
scope.setTag(KmUtils.SENTRY_SDK_ENVIRONMENT, BuildConfig.DEBUG.toString())
2727
scope.setTag(KmUtils.SENTRY_KOMMUNICATE_VERSION, BuildConfig.KOMMUNICATE_VERSION)

kommunicateui/src/main/java/io/kommunicate/ui/utils/SentryUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import io.kommunicate.devkit.api.account.user.MobiComUserPreference
55
import io.kommunicate.commons.data.PrefSettings
66
import io.kommunicate.ui.BuildConfig
77
import io.kommunicate.utils.KmUtils
8-
import io.sentry.Scope
8+
import io.sentry.IScope
99
import io.sentry.Sentry
1010
import io.sentry.protocol.User
1111

@@ -22,7 +22,7 @@ object SentryUtils {
2222
// }
2323

2424
val appId = PrefSettings.getInstance(context).applicationKey
25-
Sentry.configureScope { scope: Scope ->
25+
Sentry.configureScope { scope: IScope ->
2626
// Setup Tags
2727
scope.setTag(KmUtils.SENTRY_SDK_ENVIRONMENT, BuildConfig.DEBUG.toString())
2828
scope.setTag(KmUtils.SENTRY_KOMMUNICATE_VERSION, io.kommunicate.BuildConfig.KOMMUNICATE_VERSION)

0 commit comments

Comments
 (0)