Skip to content

Commit 6b7555b

Browse files
author
JemyCheung
committed
readme
1 parent 53a0cab commit 6b7555b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* 应广大用户需求,升级到 okhttp4
2929
* 修复文件空指针异常
3030

31+
# 7.4.5(同v7.6.3code,okhttp3.12.6)
3132
# 7.4.3(同v7.5.0code,okhttp3.12.6)
3233

3334
# 7.4.2

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ https://github.com/qiniudemo/qiniu-lab-android
1616
|------------ |-----------------|------------------------|
1717
| 7.6.x | Android 5.0+ | okhttp 4+ |
1818
| 7.5.x | Android 5.0+ | okhttp 4+ |
19-
| 7.4.3 | Android 2.3+ | okhttp 3.12.6 |
19+
| 7.4.5 | Android 4.0+ | okhttp 3.12.6 |
2020
| 7.3.x | Android 2.3+ | okhttp 3.11.0 |
2121
| 7.2.x | Android 2.3+ | okhttp 3+ |
2222
| 7.1.x | Android 2.3+ | okhttp 2.6+ |
@@ -25,7 +25,11 @@ https://github.com/qiniudemo/qiniu-lab-android
2525

2626
### 注意
2727
* 推荐使用最新版:7.6.3,7.6.3使用okhttp4.2.2
28-
* 7.4.3是在7.5.2版本上降低okhttp版本,其他功能不变
28+
* 7.4.5是在7.6.3版本上降低okhttp版本,其他功能不变,AndroidNetwork.getMobileDbm()可以获取手机信号强度,需要如下权限(API>=18时生效)
29+
```
30+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
31+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
32+
```
2933
* 从 7.3.13 开始,不在强制依赖 `happy-dns-android`,默认不再提供 `httpDns`,可以调用 `Configuration.Builder#dns(com.qiniu.android.http.Dns)`方法设置外部 `Dns`,自定义 `Dns` 要求实现 `com.qiniu.android.http.Dns` 接口。
3034
* 从7.5.0开始增加了DNS预取和缓存策略,减少dns解析错误
3135
* 如果可以明确 区域 的话,最好指定固定区域,这样可以少一步网络请求,少一步出错的可能。

0 commit comments

Comments
 (0)