File tree Expand file tree Collapse file tree 4 files changed +16
-13
lines changed Expand file tree Collapse file tree 4 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ repositories {
28
28
}
29
29
30
30
// Support
31
- implementation 'com.teprinciple:updateapputils:2.0.0 '
31
+ implementation 'com.teprinciple:updateapputils:2.0.1 '
32
32
33
33
// AndroidX
34
- implementation 'com.teprinciple:updateapputilsX:2.0.0 '
34
+ implementation 'com.teprinciple:updateapputilsX:2.0.1 '
35
35
```
36
36
37
37
### 使用
@@ -178,13 +178,6 @@ UpdateAppUtils在应用启动时,通过对比当前应用和已下载apk的Ver
178
178
<img src =" https://github.com/teprinciple/UpdateAppUtils/blob/master/img/demo.png " width =" 220 " >
179
179
180
180
### 更新日志
181
- #### 2.0.0
182
- * Kotlin重构
183
- * 支持AndroidX
184
- * 安装包签名文件md5校验
185
- * 通知栏自定义图标
186
- * 支持自定义UI
187
- * 适配中英文
188
- * 增加下载回调等api
189
- * 修复部分bug
181
+ #### 2.0.1
182
+ * 自定义FileProvide,防止provider冲突
190
183
##### [ 更多历史版本] ( https://github.com/teprinciple/UpdateAppUtils/blob/master/readme/version.md )
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ publish {
44
44
userOrg = ' teprinciple'
45
45
groupId = ' com.teprinciple'
46
46
artifactId = ' updateapputils'
47
- publishVersion = ' 2.0.0 '
47
+ publishVersion = ' 2.0.1 '
48
48
desc = ' A Simple library for Android update app'
49
49
website = ' https://github.com/teprinciple/UpdateAppUtils'
50
50
}
Original file line number Diff line number Diff line change 27
27
<service android : name =" update.UpdateAppService" />
28
28
29
29
<provider
30
- android : name =" android.support.v4.content.FileProvider "
30
+ android : name =" update.UpdateFileProvider "
31
31
android : authorities =" ${applicationId}.fileprovider"
32
32
android : exported =" false"
33
33
android : grantUriPermissions =" true" >
Original file line number Diff line number Diff line change
1
+ package update
2
+
3
+ import android.support.v4.content.FileProvider
4
+
5
+ /* *
6
+ * desc: UpdateFileProvider
7
+ * time: 2019/7/10
8
+ * @author Teprinciple
9
+ */
10
+ class UpdateFileProvider : FileProvider ()
You can’t perform that action at this time.
0 commit comments