Skip to content

Commit

Permalink
发布v3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jenly1314 committed Apr 29, 2024
1 parent e26dfc2 commit bb061d1
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 21 deletions.
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public class QRCodeScanActivity extends BarcodeCameraScanActivity {
.setAreaRectVerticalOffset(0)//设置识别区域垂直方向偏移量,默认为0,为0表示居中,可以为负数
.setAreaRectHorizontalOffset(0);//设置识别区域水平方向偏移量,默认为0,为0表示居中,可以为负数
// BarcodeCameraScanActivity默认使用的MultiFormatAnalyzer,这里可以改为使用QRCodeAnalyzer
return new QRCodeAnalyzer(decodeConfig);
return new MultiFormatAnalyzer(decodeConfig);
}

/**
Expand Down Expand Up @@ -202,6 +202,10 @@ dependencies {

## 版本记录

#### v3.1.1:2024-04-29
* 更新CameraScan至v1.1.1
* 更新zxing至v3.5.3

#### v3.1.0:2023-12-31
* 更新CameraScan至v1.1.0
* 更新zxing至v3.5.2
Expand All @@ -225,16 +229,6 @@ dependencies {
* 优化ImageAnalyzer中YUV数据的处理
* 更新CameraX至v1.2.2

#### v2.3.1:2023-3-4
* 更新CameraX至v1.2.1
* 更新Gradle至v7.5
* 优化细节

#### v2.3.0:2022-12-11
* 更新CameraX至v1.2.0
* 更新zxing至v3.5.1
* 更新compileSdkVersion至33

#### [查看更多版本记录](change_log.md)

## 赞赏
Expand Down
Binary file modified app/release/app-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 40,
"versionName": "3.1.0",
"versionCode": 41,
"versionName": "3.1.1",
"outputFile": "app-release.apk"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class FullScreenQRCodeScanActivity : BarcodeCameraScanActivity() {
* 显示结果点
*/
private fun displayResultPoint(result: AnalyzeResult<Result>) {
var width = result.bitmapWidth
var height = result.bitmapHeight
var width = result.imageWidth
var height = result.imageHeight

val resultPoints = result.result.resultPoints
val size = resultPoints.size
Expand Down
4 changes: 4 additions & 0 deletions change_log.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## 版本记录

#### v3.1.1:2024-04-29
* 更新CameraScan至v1.1.1
* 更新zxing至v3.5.3

#### v3.1.0:2023-12-31
* 更新CameraScan至v1.1.0
* 更新zxing至v3.5.2
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

VERSION_NAME=3.1.0
VERSION_CODE=40
VERSION_NAME=3.1.1
VERSION_CODE=41
GROUP=com.github.jenly1314

POM_DESCRIPTION=ZXingLite for Android
Expand Down
8 changes: 4 additions & 4 deletions versions.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// App
def app_version = [:]
app_version.versionCode = 40
app_version.versionName = "3.1.0"
app_version.versionCode = 41
app_version.versionName = "3.1.1"
ext.app_version = app_version

// build version
Expand Down Expand Up @@ -47,10 +47,10 @@ test.espresso = "androidx.test.espresso:espresso-core:$versions.espresso"
deps.test = test

// zxing
deps.zxing = "com.google.zxing:core:3.5.2"
deps.zxing = "com.google.zxing:core:3.5.3"

// CameraScan
deps.camera_scan = "com.github.jenly1314:camera-scan:1.1.0"
deps.camera_scan = "com.github.jenly1314:camera-scan:1.1.1"
// ViewfinderView
deps.viewfinderview = "com.github.jenly1314:viewfinderview:1.1.0"

Expand Down

0 comments on commit bb061d1

Please sign in to comment.