File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ The following is the version description. Choose one.
182182dependencies {
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
268268mSupportBackgroundUpdate | boolean | false | Whether background updates are supported
269269mWidthRatio | float | -1(Unconstrained) | The ratio of the width of the version update prompter to the screen
270270mHeightRatio | 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
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ allprojects {
181181dependencies {
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 | 按钮文字颜色
267267mSupportBackgroundUpdate | boolean | false | 是否支持后台更新
268268mWidthRatio | float | -1(无约束) | 版本更新提示器宽度占屏幕的比例
269269mHeightRatio | float | -1(无约束) | 版本更新提示器高度占屏幕的比例
270+ mIgnoreDownloadError | boolean | false | 是否忽略下载异常(下载失败更新提示框不消失)
270271
271272### 2.4、文件加密校验方式
272273
You can’t perform that action at this time.
0 commit comments