From 88cbe3fcba21c511af56883cbf02d7ea41d690d3 Mon Sep 17 00:00:00 2001 From: "Mr. Banana" Date: Thu, 5 Dec 2024 16:44:15 -0800 Subject: [PATCH] Reduce zxing dependency in order to fix build issues The 1.9.13 versions no longer seems to exist in a remote repository, at least any that I, or gradle, can easily find. They were stored in jCenter, which is deprecated, but now appear to be gone. https://mvnrepository.com/artifact/me.dm7.barcodescanner/zxing Looking at the github, it seems there aren't any significant features added after 1.9.8 that we need to use. https://github.com/dm77/barcodescanner I'm trying to build the Android version of Kalium and encountering build issues. --- android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 2fcc4218..2610f2ac 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -76,7 +76,7 @@ protobuf { dependencies { implementation 'androidx.appcompat:appcompat:1.1.0' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation 'me.dm7.barcodescanner:zxing:1.9.13' + implementation 'me.dm7.barcodescanner:zxing:1.9.8' implementation 'com.google.protobuf:protobuf-lite:3.0.1' api 'com.google.android.material:material:1.1.0' -} \ No newline at end of file +}