Skip to content

Commit 18afa29

Browse files
committed
update readme
1 parent 8369f2a commit 18afa29

5 files changed

Lines changed: 7 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
![GitHub release](https://img.shields.io/github/release/devilsen/czxing.svg)
2-
![Bintray](https://img.shields.io/bintray/v/devilsen/Android/czxing?color=1E88E5&label=version)
3-
41
# CZXing
52
C++ port of ZXing for Android
63

@@ -12,7 +9,7 @@ C++ port of ZXing for Android
129
在gradle中:
1310
``` groovy
1411
// 迁移至 Maven Central
15-
implementation 'io.github.devilsen:czxing:1.1.0'
12+
implementation 'io.github.devilsen:czxing:1.2.0'
1613
```
1714
建议加入abiFilters
1815
```gradle

czxing/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ android {
77
minSdkVersion rootProject.ext.minSdkVersion
88
targetSdkVersion rootProject.ext.targetSdkVersion
99
ndkVersion rootProject.ext.ndkVersion
10+
versionCode 35
11+
versionName "1.2.0"
1012

1113
externalNativeBuild {
1214
cmake {

gradlew

100644100755
File mode changed.

sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ android {
6161
dependencies {
6262

6363
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.2'
64-
implementation project(':czxing')
65-
// implementation 'io.github.devilsen:czxing:1.1.0'
64+
// implementation project(':czxing')
65+
implementation 'io.github.devilsen:czxing:1.2.0'
6666

6767
testImplementation rootProject.ext.junit
6868
androidTestImplementation rootProject.ext.testrunner

sample/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@
5656
android:onClick="openScanBox"
5757
android:text="openScanBox"
5858
android:textAllCaps="false"
59-
android:visibility="visible" />
59+
android:visibility="gone" />
6060

6161
<Button
6262
android:layout_width="wrap_content"
6363
android:layout_height="wrap_content"
6464
android:onClick="testDetect"
6565
android:text="testDetect"
6666
android:textAllCaps="false"
67-
android:visibility="visible" />
67+
android:visibility="gone" />
6868

6969
</LinearLayout>

0 commit comments

Comments
 (0)