diff --git a/README.md b/README.md index d9c82be..4bba6a9 100644 --- a/README.md +++ b/README.md @@ -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 = "" + +``` + ## 问题说明