Skip to content

Commit

Permalink
1,调整升级对话框居中
Browse files Browse the repository at this point in the history
  • Loading branch information
WVector committed Aug 24, 2017
1 parent 78edcee commit 5a239e3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

```gradle
dependencies {
compile 'com.qianwen:update-app:3.3.4'
compile 'com.qianwen:update-app:3.3.5'
}
```

Expand All @@ -61,7 +61,7 @@ dependencies {

```gradle
dependencies {
compile 'com.qianwen:update-app-kotlin:1.0.5'
compile 'com.qianwen:update-app-kotlin:1.0.6'
}
```

Expand Down Expand Up @@ -102,6 +102,12 @@ dependencies {

kotlin版本是依赖java版本的,所以java版本的问题kotlin自然修复

V3.3.5

1,修复升级对话框布局中的问题。
2,修复静默下载,关闭更新弹窗 再点击更新 一直显示的问题。
[https://github.com/WVector/AppUpdate/issues/21](https://github.com/WVector/AppUpdate/issues/21)

V3.3.4

1,修复对话框更新内容过多,升级按钮被挤压的问题。
Expand Down
Binary file modified apk/app-debug.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion json/json.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"apk_file_url": "https://raw.githubusercontent.com/WVector/AppUpdateDemo/master/apk/app-debug.apk",
"update_log": "1,添加删除信用卡接口。\r\n2,添加vip认证。\r\n3,区分自定义消费,一个小时不限制。\r\n4,添加放弃任务接口,小时内不生成。\r\n5,消费任务手动生成。",
"target_size": "5M",
"new_md5":"B6C21858B8A2414B3531A6901EB8A587",
"new_md5":"295687E756F569C7159974DD493489A5",
"constraint": false
}
3 changes: 1 addition & 2 deletions update-app-kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,14 @@ dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"

// compile 'com.qianwen:update-app:+'

compile project(':update-app')
}
//添加
publish {
userOrg = 'qianwen'//bintray.com用户名
groupId = 'com.qianwen'//jcenter上的路径
artifactId = 'update-app-kotlin'//项目名称
publishVersion = '1.0.5'//版本号
publishVersion = '1.0.6'//版本号
desc = 'a library for android version update'
website = 'https://github.com/WVector/AppUpdate'
}
Expand Down
2 changes: 1 addition & 1 deletion update-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ publish {
userOrg = 'qianwen'//bintray.com用户名
groupId = 'com.qianwen'//jcenter上的路径
artifactId = 'update-app'//项目名称
publishVersion = '3.3.4'//版本号
publishVersion = '3.3.5'//版本号
desc = 'a library for android version update'
website = 'https://github.com/WVector/AppUpdate'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ public void onError(String error) {
public void onResponse(File file) {
if (mCallBack != null) {
if (!mCallBack.onFinish(file)) {
close();
return;
}
}
Expand Down

0 comments on commit 5a239e3

Please sign in to comment.