@@ -34,6 +34,7 @@ android {
3434 " default" {
3535 dimension " type"
3636 buildConfigField " boolean" , " ENABLE_AUTO_UPDATER" , " true"
37+ buildConfigField " boolean" , " DEFAULT_ENABLE_CRASH_REPORTING" , " true"
3738 buildConfigField(
3839 " java.util.List<String>" ,
3940 " ENABLED_REPOS" ,
@@ -50,6 +51,9 @@ android {
5051 // with our keys, so the APK wouldn't install anyways).
5152 buildConfigField " boolean" , " ENABLE_AUTO_UPDATER" , " false"
5253
54+ // Disable crash reporting for F-Droid flavor by default
55+ buildConfigField " boolean" , " DEFAULT_ENABLE_CRASH_REPORTING" , " false"
56+
5357 // Repo with ads or tracking feature are disabled by default for the
5458 // F-Droid flavor.
5559 buildConfigField(
@@ -79,6 +83,8 @@ configurations {
7983}
8084
8185dependencies {
86+ // Error reporting
87+ implementation ' io.sentry:sentry-android:6.4.0'
8288 // UI
8389 implementation ' androidx.appcompat:appcompat:1.5.0'
8490 implementation ' androidx.emoji2:emoji2:1.2.0'
@@ -87,7 +93,7 @@ dependencies {
8793 implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
8894 implementation ' androidx.recyclerview:recyclerview:1.2.1'
8995 implementation ' androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
90- implementation ' androidx.webkit:webkit:1.4 .0'
96+ implementation ' androidx.webkit:webkit:1.5 .0'
9197 implementation ' com.google.android.material:material:1.6.1'
9298 implementation " com.mikepenz:aboutlibraries:${ latestAboutLibsRelease} "
9399 implementation " dev.rikka.rikkax.layoutinflater:layoutinflater:1.2.0"
0 commit comments