Skip to content

Commit

Permalink
版本4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
azhon committed Aug 5, 2022
1 parent 9e53226 commit 4b50613
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions README-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<p align="center"><img src="https://github.com/azhon/AppUpdate/blob/main/img/logo.png"></p>
<p align="center">
<img src="https://img.shields.io/badge/miniSdk-16%2B-blue.svg">
<img src="https://img.shields.io/badge/jitpack%20version-4.2.1-brightgreen.svg">
<img src="https://img.shields.io/badge/jitpack%20version-4.2.2-brightgreen.svg">
<img src="https://img.shields.io/badge/author-azhon-%23E066FF.svg">
<img src="https://img.shields.io/badge/license-Apache2.0-orange.svg">
</p>
Expand Down Expand Up @@ -59,7 +59,7 @@ allprojects {
- `app/build.gradle`

```groovy
implementation 'com.github.azhon:AppUpdate:4.2.1'
implementation 'com.github.azhon:AppUpdate:4.2.2'
```

#### Step2:Create `DownloadManager`,For more usage, please see [sample code here](https://github.com/azhon/AppUpdate/blob/main/app/src/main/java/com/azhon/app/MainActivity.kt)
Expand All @@ -71,7 +71,7 @@ val manager = DownloadManager.Builder(this).run {
smallIcon(R.mipmap.ic_launcher)
//If this parameter is set, it will automatically determine whether to show tip dialog
apkVersionCode(2)
apkVersionName('v4.2.1')
apkVersionName('v4.2.2')
apkSize("7.7MB")
apkDescription("description...")
//Optional parameters...
Expand Down Expand Up @@ -107,9 +107,10 @@ class MyDownload : BaseHttpDownloadManager() {}

### Version update record

* v4.2.1(2022/08/04
* v4.2.2(2022/08/05

* [opt] Optimize the text content of the dialog and remove redundant symbols
* [fix] Fix that the download parameters are not valid after multiple calls

#### [More update records click here to view](https://github.com/azhon/AppUpdate/wiki/Home)

Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<p align="center"><img src="https://github.com/azhon/AppUpdate/blob/main/img/logo.png"></p>
<p align="center">
<img src="https://img.shields.io/badge/miniSdk-16%2B-blue.svg">
<img src="https://img.shields.io/badge/jitpack%20version-4.2.1-brightgreen.svg">
<img src="https://img.shields.io/badge/jitpack%20version-4.2.2-brightgreen.svg">
<img src="https://img.shields.io/badge/author-azhon-%23E066FF.svg">
<img src="https://img.shields.io/badge/license-Apache2.0-orange.svg">
</p>
Expand Down Expand Up @@ -88,7 +88,7 @@ dependencyResolutionManagement {
##### `app/build.gradle`添加依赖
```groovy
implementation 'com.github.azhon:AppUpdate:4.2.1'
implementation 'com.github.azhon:AppUpdate:4.2.2'
```

#### 第二步:创建`DownloadManager`,更多用法请查看[这里示例代码](https://github.com/azhon/AppUpdate/blob/main/app/src/main/java/com/azhon/app/MainActivity.kt)
Expand All @@ -101,7 +101,7 @@ val manager = DownloadManager.Builder(this).run {
//设置了此参数,那么内部会自动判断是否需要显示更新对话框,否则需要自己判断是否需要更新
apkVersionCode(2)
//同时下面三个参数也必须要设置
apkVersionName('v4.2.1')
apkVersionName('v4.2.2')
apkSize("7.7MB")
apkDescription("更新描述信息(取服务端返回数据)")
//省略一些非必须参数...
Expand Down Expand Up @@ -140,9 +140,10 @@ class MyDownload : BaseHttpDownloadManager() {}

### 版本更新记录

* v4.2.1(2022/08/04
* v4.2.2(2022/08/05

* [优化] 优化升级对话框文本内容,移除多余符号
* [修复] 修复多次调用下载参数未生效bug

* [更多更新记录点此查看](https://github.com/azhon/AppUpdate/wiki/Home)

Expand Down

0 comments on commit 4b50613

Please sign in to comment.