chengyanfang

sdk upgrade

Showing 1 changed file with 12 additions and 0 deletions
... ... @@ -23,6 +23,7 @@
* [6. 其他配置](#6-其他配置)
* [6.1. APNs](#61-apns)
* [6.2. Background Modes](#62-background-modes)
* [6.3. 扩展参数](#63-extension-params)
* [问题说明](#问题说明)
* [支付宝 SDK 冲突](#支付宝-sdk-冲突)
* [swift 4.1](#swift-41)
... ... @@ -291,6 +292,17 @@ func application(_ application: UIApplication, didRegisterForRemoteNotifications
xxx target -> Capabilities -> Background Modes -> 勾选 Audio,Airplay and Picture in Picture
```
### 6.3. 扩展参数
为了支持收集渠道日志,SDK支持在初始化时传递自定义参数。
```
let option = HHSDKOptions(productId: "3000", isDebug: true, isDevelop: true)
option.asyncLogin = false
option.mExtension = ""
```
## 问题说明
... ...