Skip to content

Commit

Permalink
修改README
Browse files Browse the repository at this point in the history
  • Loading branch information
maning0303 committed Jan 15, 2021
1 parent 91a0102 commit 772cf6e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
#### 自定义Activity
![image](https://github.com/maning0303/MNZXingCode/blob/master/screenshots/mn_zxing_screenshot_005.jpg)

#### 多二维码扫码
![image](https://github.com/maning0303/MNZXingCode/blob/master/screenshots/mn_zxing_screenshot_006.jpg)

## 如何添加
### Gradle添加:
#### 1.在Project的build.gradle中添加仓库地址
Expand All @@ -45,13 +48,14 @@
#### 2.在Module目录下的build.gradle中添加依赖
``` gradle
dependencies {
//zxing 3.4.0 不兼容7.0以下版本,必须java8+
implementation 'com.google.zxing:core:3.4.0'
implementation 'com.github.maning0303:MNZXingCode:V2.1.7'
//需要支持7.0以下
implementation 'com.google.zxing:core:3.3.3'
implementation 'com.github.maning0303:MNZXingCode:V2.1.7'
//zxing 3.4.0 不兼容7.0以下版本,必须java8+
implementation 'com.google.zxing:core:3.4.0'
implementation 'com.github.maning0303:MNZXingCode:V2.1.7'
//需要支持7.0以下
implementation 'com.google.zxing:core:3.3.3'
implementation 'com.github.maning0303:MNZXingCode:V2.1.7'
}
```
Expand Down Expand Up @@ -266,6 +270,7 @@
v2.1.7:
1.支持多二维码同时扫出
2.优化扫描结果点位置显示
3.zxing版本自定义
v2.1.6:
1.优化代码,防止内存泄露
Expand Down

0 comments on commit 772cf6e

Please sign in to comment.