aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildSrc/src/main/kotlin/kau/Versions.kt2
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt3
2 files changed, 2 insertions, 3 deletions
diff --git a/buildSrc/src/main/kotlin/kau/Versions.kt b/buildSrc/src/main/kotlin/kau/Versions.kt
index 37768e5..f01f6b8 100644
--- a/buildSrc/src/main/kotlin/kau/Versions.kt
+++ b/buildSrc/src/main/kotlin/kau/Versions.kt
@@ -79,7 +79,7 @@ object Versions {
const val spotless = "3.28.0"
// https://github.com/bugsnag/bugsnag-android/releases
- const val bugsnag = "5.0.0"
+ const val bugsnag = "4.22.3"
// https://github.com/bugsnag/bugsnag-android-gradle-plugin/releases
const val bugsnagPlugin="4.7.5"
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt
index bead882..fd1a2e7 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt
@@ -17,7 +17,6 @@ package ca.allanwang.kau.sample
import android.app.Application
import com.bugsnag.android.Bugsnag
-import com.bugsnag.android.Configuration
import dagger.hilt.android.HiltAndroidApp
/**
@@ -34,6 +33,6 @@ class SampleApp : Application() {
if (BuildConfig.DEBUG) {
return
}
- Bugsnag.start(this)
+ Bugsnag.init(this)
}
}