Skip to content

Commit 93eb170

Browse files
committed
发布2.1.0版本
1 parent 78cd09e commit 93eb170

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ The following is the version description. Choose one.
182182
dependencies {
183183
...
184184
// androidx project
185-
implementation 'com.github.xuexiangjys:XUpdate:2.0.9'
185+
implementation 'com.github.xuexiangjys:XUpdate:2.1.0'
186186
}
187187
```
188188

@@ -268,6 +268,7 @@ mButtonTextColor | int | 0 | Button text color
268268
mSupportBackgroundUpdate | boolean | false | Whether background updates are supported
269269
mWidthRatio | float | -1(Unconstrained) | The ratio of the width of the version update prompter to the screen
270270
mHeightRatio | float | -1(Unconstrained) | The ratio of the height of the version update prompter to the screen
271+
mIgnoreDownloadError | boolean | false | Whether to ignore the download exception (the update prompt box will not disappear if the download fails)
271272

272273
### 2.4、File encryption verification method
273274

README_ZH.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ allprojects {
181181
dependencies {
182182
...
183183
// androidx版本
184-
implementation 'com.github.xuexiangjys:XUpdate:2.0.9'
184+
implementation 'com.github.xuexiangjys:XUpdate:2.1.0'
185185
}
186186
```
187187

@@ -267,6 +267,7 @@ mButtonTextColor | int | 0 | 按钮文字颜色
267267
mSupportBackgroundUpdate | boolean | false | 是否支持后台更新
268268
mWidthRatio | float | -1(无约束) | 版本更新提示器宽度占屏幕的比例
269269
mHeightRatio | float | -1(无约束) | 版本更新提示器高度占屏幕的比例
270+
mIgnoreDownloadError | boolean | false | 是否忽略下载异常(下载失败更新提示框不消失)
270271

271272
### 2.4、文件加密校验方式
272273

0 commit comments

Comments
 (0)