扫码改用 ZXing 并按 ABI 拆分安装包(30MB 减至 5MB)

This commit is contained in:
2026-10-14 14:04:36 +08:00
parent 32ba07651b
commit 3aa6da26a9
5 changed files with 147 additions and 62 deletions
-2
View File
@@ -13,7 +13,6 @@ navigationCompose = "2.8.5"
room = "2.6.1"
cameraX = "1.4.0"
zxing = "3.5.3"
mlKitBarcode = "17.3.0"
dataStore = "1.1.2"
biometric = "1.1.0"
securityCrypto = "1.1.0-alpha06"
@@ -46,7 +45,6 @@ androidx-camera-camera2 = { group = "androidx.camera", name = "camera-camera2",
androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref = "cameraX" }
androidx-camera-view = { group = "androidx.camera", name = "camera-view", version.ref = "cameraX" }
zxing-core = { group = "com.google.zxing", name = "core", version.ref = "zxing" }
mlkit-barcode-scanning = { group = "com.google.mlkit", name = "barcode-scanning", version.ref = "mlKitBarcode" }
androidx-datastore-preferences = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "dataStore" }
androidx-biometric = { group = "androidx.biometric", name = "biometric", version.ref = "biometric" }
androidx-security-crypto = { group = "androidx.security", name = "security-crypto-ktx", version.ref = "securityCrypto" }