This commit is contained in:
agra
2026-05-07 09:22:01 +03:00
parent 6d8efafaa0
commit 26cdf63afc
11 changed files with 547 additions and 4 deletions

View File

@@ -52,3 +52,15 @@ android {
jvmTarget = '1.8'
}
}
dependencies {
// CameraX for scanner preview + frame analysis. Pinned to a stable
// train; the `view` module pulls in the rest transitively.
def cameraxVersion = '1.3.4'
implementation "androidx.camera:camera-core:$cameraxVersion"
implementation "androidx.camera:camera-camera2:$cameraxVersion"
implementation "androidx.camera:camera-lifecycle:$cameraxVersion"
implementation "androidx.camera:camera-view:$cameraxVersion"
// Pure-Kotlin/Java QR decoder. ~470 KB jar, no Play Services dep.
implementation 'com.google.zxing:core:3.5.3'
}