mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 01:45:22 +00:00
feat: Replace zxing-android-embedded with ML Kit and CameraX
This commit is contained in:
@@ -92,7 +92,13 @@ dependencies {
|
||||
implementation(libs.accompanist.permissions)
|
||||
|
||||
// QR
|
||||
implementation(libs.zxing.embedded)
|
||||
implementation(libs.zxing.core)
|
||||
implementation(libs.mlkit.barcode.scanning)
|
||||
|
||||
// CameraX
|
||||
implementation(libs.androidx.camera.camera2)
|
||||
implementation(libs.androidx.camera.lifecycle)
|
||||
implementation(libs.androidx.camera.view)
|
||||
|
||||
// Cryptography
|
||||
implementation(libs.bundles.cryptography)
|
||||
|
||||
@@ -46,7 +46,11 @@ gms-location = "21.3.0"
|
||||
security-crypto = "1.1.0-beta01"
|
||||
|
||||
# QR
|
||||
zxing-embedded = "4.3.0"
|
||||
zxing-core = "3.5.4"
|
||||
|
||||
# CameraX / ML Kit
|
||||
camerax = "1.5.2"
|
||||
mlkit-barcode = "17.3.0"
|
||||
|
||||
# Testing
|
||||
junit = "4.13.2"
|
||||
@@ -108,7 +112,13 @@ gms-location = { module = "com.google.android.gms:play-services-location", versi
|
||||
androidx-security-crypto = { module = "androidx.security:security-crypto", version.ref = "security-crypto" }
|
||||
|
||||
# QR
|
||||
zxing-embedded = { module = "com.journeyapps:zxing-android-embedded", version.ref = "zxing-embedded" }
|
||||
zxing-core = { module = "com.google.zxing:core", version.ref = "zxing-core" }
|
||||
|
||||
# CameraX / ML Kit
|
||||
androidx-camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "camerax" }
|
||||
androidx-camera-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "camerax" }
|
||||
androidx-camera-view = { module = "androidx.camera:camera-view", version.ref = "camerax" }
|
||||
mlkit-barcode-scanning = { module = "com.google.mlkit:barcode-scanning", version.ref = "mlkit-barcode" }
|
||||
|
||||
# Testing
|
||||
junit = { module = "junit:junit", version.ref = "junit" }
|
||||
|
||||
Reference in New Issue
Block a user