Skip to content

Commit f7f979f

Browse files
committed
publish 4.2.0
1 parent 1bac214 commit f7f979f

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

README-EN.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<p align="center"><img src="https://github.com/azhon/AppUpdate/blob/main/img/logo.png"></p>
44
<p align="center">
55
<img src="https://img.shields.io/badge/miniSdk-16%2B-blue.svg">
6-
<img src="https://img.shields.io/badge/jitpack%20version-4.1.1-brightgreen.svg">
6+
<img src="https://img.shields.io/badge/jitpack%20version-4.2.0-brightgreen.svg">
77
<img src="https://img.shields.io/badge/author-azhon-%23E066FF.svg">
88
<img src="https://img.shields.io/badge/license-Apache2.0-orange.svg">
99
</p>
@@ -33,13 +33,13 @@
3333
* [x] Support for custom download process
3434
* [x] Support Android 4.1 and above
3535
* [x] Support notification progress display (or custom display progress)
36-
* [x] Support Chinese/English
36+
* [x] Support Chinese/Traditional/English
3737
* [x] Support for custom built-in dialog styles
3838
* [x] Support for canceling the download (if the notification bar message is sent, it will be removed)
3939
* [x] Support download completion Delete old APK file after opening new version
4040
* [x] Download using HttpURLConnection, no other third-party framework is integrated
4141

42-
### [Demo download experience](https://github.com/azhon/AppUpdate/releases/tag/4.0.0)
42+
### [Demo download experience](https://github.com/azhon/AppUpdate/releases/tag/4.2.0)
4343

4444
### Steps for usage
4545

@@ -59,7 +59,7 @@ allprojects {
5959
- `app/build.gradle`
6060

6161
```groovy
62-
implementation 'com.github.azhon:AppUpdate:4.1.1'
62+
implementation 'com.github.azhon:AppUpdate:4.2.0'
6363
```
6464

6565
#### 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)
@@ -87,7 +87,7 @@ manager?.download()
8787

8888
### Skills
8989

90-
* Internal support Chinese / English (other languages only need to take the same name in the corresponding `string.xml`
90+
* Internal support (other languages only need to take the same name in the corresponding `string.xml`
9191
* To view the Log, you only need to filter the Tag at the beginning of `AppUpdate`
9292
* Download completed Delete old APK file after opening new version
9393

@@ -105,9 +105,11 @@ class MyDownload : BaseHttpDownloadManager() {}
105105

106106
### Version update record
107107

108-
* v4.1.0(2022/05/11
108+
* v4.2.0(2022/07/05
109109

110-
* [Fix] Some https url throw SSLHandshakeException
110+
* [opt] Add support for traditional Chinese
111+
* [Fix] Memory leak caused by non-forced update built-in dialog closing
112+
* [Fix] Possible DownloadManager NPE bug
111113

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

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<p align="center"><img src="https://github.com/azhon/AppUpdate/blob/main/img/logo.png"></p>
44
<p align="center">
55
<img src="https://img.shields.io/badge/miniSdk-16%2B-blue.svg">
6-
<img src="https://img.shields.io/badge/jitpack%20version-4.1.1-brightgreen.svg">
6+
<img src="https://img.shields.io/badge/jitpack%20version-4.2.0-brightgreen.svg">
77
<img src="https://img.shields.io/badge/author-azhon-%23E066FF.svg">
88
<img src="https://img.shields.io/badge/license-Apache2.0-orange.svg">
99
</p>
@@ -40,7 +40,7 @@ src="https://github.com/azhon/AppUpdate/blob/main/img/qq_group.png">
4040
* [x] 支持自定义下载过程
4141
* [x] 支持Android4.1及以上版本
4242
* [x] 支持通知栏进度条展示(或者自定义显示进度)
43-
* [x] 支持中/英文双语(国际化)
43+
* [x] 支持中文/繁体/英文语言(国际化)
4444
* [x] 支持自定义内置对话框样式
4545
* [x] 支持取消下载(如果发送了通知栏消息,则会移除)
4646
* [x] 支持下载完成 打开新版本后删除旧安装包文件
@@ -49,7 +49,7 @@ src="https://github.com/azhon/AppUpdate/blob/main/img/qq_group.png">
4949

5050
### Demo下载体验
5151

52-
[点击下载Demo进行体验](https://github.com/azhon/AppUpdate/releases/tag/4.0.0)
52+
[点击下载Demo进行体验](https://github.com/azhon/AppUpdate/releases/tag/4.2.0)
5353

5454

5555
### 使用步骤
@@ -79,7 +79,7 @@ dependencyResolutionManagement {
7979
##### `app/build.gradle`添加依赖
8080
8181
```groovy
82-
implementation 'com.github.azhon:AppUpdate:4.1.1'
82+
implementation 'com.github.azhon:AppUpdate:4.2.0'
8383
```
8484

8585
#### 第二步:创建`DownloadManager`,更多用法请查看[这里示例代码](https://github.com/azhon/AppUpdate/blob/main/app/src/main/java/com/azhon/app/MainActivity.kt)
@@ -111,7 +111,7 @@ manager?.download()
111111

112112
### 使用技巧
113113

114-
* 框架内部支持中/英文 国际化(其他语言只需要在对应的`string.xml`中取相同的名字即可)
114+
* 框架内部支持国际化(其他语言只需要在对应的`string.xml`中取相同的名字即可)
115115
* 如果你需要修改框架内部的一些文字,你只需要在`string.xml`中取相同的名字即可以覆盖框架内设定的
116116
* 查看版本库中的Log只需要过滤`AppUpdate`开头的Tag
117117
* 支持校验安装包的MD5避免重复下载,只需要`Builder`设置安装包的MD5即可
@@ -131,9 +131,11 @@ class MyDownload : BaseHttpDownloadManager() {}
131131

132132
### 版本更新记录
133133

134-
* v4.1.1(2022/06/06
134+
* v4.2.0(2022/07/05
135135

136-
* [修复] 解决部分https下载地址报SSLHandshakeException异常
136+
* [优化] 增加对繁体的支持
137+
* [修复] 非强制更新内置对话框关闭导致的内存泄露
138+
* [修复] 有可能发生的DownloadManager NPE bug
137139

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

0 commit comments

Comments
 (0)