Update ACRA

This commit is contained in:
arkon 2022-04-11 08:56:22 -04:00
parent 2b38b4e022
commit 80635343ae
4 changed files with 6 additions and 4 deletions

View file

@ -155,7 +155,7 @@ dependencies {
implementation(androidx.bundles.lifecycle) implementation(androidx.bundles.lifecycle)
// Job scheduling // Job scheduling
implementation(androidx.work.runtime) implementation(androidx.bundles.workmanager)
// RX // RX
implementation(libs.bundles.reactivex) implementation(libs.bundles.reactivex)

View file

@ -170,7 +170,7 @@ open class App : Application(), DefaultLifecycleObserver, ImageLoaderFactory {
if (BuildConfig.FLAVOR != "dev") { if (BuildConfig.FLAVOR != "dev") {
initAcra { initAcra {
buildConfigClass = BuildConfig::class.java buildConfigClass = BuildConfig::class.java
excludeMatchingSharedPreferencesKeys = arrayOf(".*username.*", ".*password.*", ".*token.*") excludeMatchingSharedPreferencesKeys = listOf(".*username.*", ".*password.*", ".*token.*")
httpSender { httpSender {
uri = BuildConfig.ACRA_URI uri = BuildConfig.ACRA_URI

View file

@ -19,9 +19,11 @@ lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.r
lifecycle-runtimektx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle_version" } lifecycle-runtimektx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle_version" }
work-runtime = "androidx.work:work-runtime-ktx:2.6.0" work-runtime = "androidx.work:work-runtime-ktx:2.6.0"
guava = "com.google.guava:guava:31.1-android"
[bundles] [bundles]
lifecycle = ["lifecycle-common","lifecycle-process","lifecycle-runtimektx"] lifecycle = ["lifecycle-common", "lifecycle-process", "lifecycle-runtimektx"]
workmanager = ["work-runtime", "guava"]
[plugins] [plugins]
application = { id = "com.android.application", version.ref="agp_version"} application = { id = "com.android.application", version.ref="agp_version"}

View file

@ -76,7 +76,7 @@ flowbinding-viewpager = { module = "io.github.reactivecircus.flowbinding:flowbin
logcat = "com.squareup.logcat:logcat:0.1" logcat = "com.squareup.logcat:logcat:0.1"
acra-http = "ch.acra:acra-http:5.8.4" acra-http = "ch.acra:acra-http:5.9.0"
firebase-analytics = "com.google.firebase:firebase-analytics-ktx:20.0.2" firebase-analytics = "com.google.firebase:firebase-analytics-ktx:20.0.2"
aboutlibraries-core = { module = "com.mikepenz:aboutlibraries-core", version.ref = "aboutlib_version" } aboutlibraries-core = { module = "com.mikepenz:aboutlibraries-core", version.ref = "aboutlib_version" }