chengyanfang

sdk upgrade

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