feat: 扫码迁移到 ZXingLite 并支持相册识别

This commit is contained in:
fengjingqi
2026-11-11 14:23:21 +08:00
parent 1fd760e80a
commit 5e8ea12f69
17 changed files with 544 additions and 39 deletions

View File

@@ -156,10 +156,10 @@ dependencies {
implementation 'com.geyifeng.immersionbar:immersionbar:3.2.2'
//zxing 依赖 二维码,扫描等使用
implementation 'com.google.zxing:core:3.4.1'
// implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
implementation 'com.github.maning0303:MNZXingCode:V2.1.9'
//扫码:ZXingLite(CameraX + zxing-core),替代已停止维护的 MNZXingCode
implementation 'com.github.jenly1314:zxing-lite:3.5.0'
//相册选择:AndroidX Photo Picker,无需存储权限
implementation 'androidx.activity:activity:1.9.3'
//该库专门用于在 ImageView 中处理 GIF 动画。
// implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.23'
//下载框架