Skip to content

Commit

Permalink
修改README
Browse files Browse the repository at this point in the history
  • Loading branch information
maning committed Sep 10, 2018
1 parent e54588f commit d14ad94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Android APK 版本更新的下载和安装,适配7.0,8.0下载安装
#### 2.在Module目录下的build.gradle中添加依赖
``` gradle
dependencies {
compile 'com.github.maning0303:MNUpdateAPK:V2.0.1'
compile 'com.github.maning0303:MNUpdateAPK:V2.0.2'
}
```

Expand Down Expand Up @@ -66,9 +66,10 @@ Android APK 版本更新的下载和安装,适配7.0,8.0下载安装

@Override
public void onComplete(String path) {

//下载完成
//先判断有没有安装权限---适配8.0
//如果不想用封装好的,可以自己去实现8.0适配
InstallUtils.checkInstallPermission(context, new InstallUtils.InstallPermissionCallBack() {
@Override
public void onGranted() {
Expand Down

0 comments on commit d14ad94

Please sign in to comment.