Showing
152 changed files
with
57 additions
and
2 deletions
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
1.35 KB
2.45 KB
704 Bytes
1.17 KB
| @@ -854,6 +854,10 @@ SWIFT_CLASS("_TtC12hhVDoctorSDK12VideoOptions") | @@ -854,6 +854,10 @@ SWIFT_CLASS("_TtC12hhVDoctorSDK12VideoOptions") | ||
| 854 | @property (nonatomic) BOOL allowMulti; | 854 | @property (nonatomic) BOOL allowMulti; |
| 855 | /// 是否显示医生信息 | 855 | /// 是否显示医生信息 |
| 856 | @property (nonatomic) BOOL isShowDocInfo; | 856 | @property (nonatomic) BOOL isShowDocInfo; |
| 857 | +/// 可以关闭摄像头 | ||
| 858 | +@property (nonatomic) BOOL enableCloseCamera; | ||
| 859 | +/// 不可关闭摄像头 | ||
| 860 | +@property (nonatomic) BOOL isCloseCameraCall; | ||
| 857 | - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | 861 | - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
| 858 | @end | 862 | @end |
| 859 | 863 |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
| @@ -893,6 +893,8 @@ public var HMHudManager: hhVDoctorSDK.HHHUDable { | @@ -893,6 +893,8 @@ public var HMHudManager: hhVDoctorSDK.HHHUDable { | ||
| 893 | @objc public var allowMulti: Swift.Bool | 893 | @objc public var allowMulti: Swift.Bool |
| 894 | public var mCallExtension: Swift.String | 894 | public var mCallExtension: Swift.String |
| 895 | @objc public var isShowDocInfo: Swift.Bool | 895 | @objc public var isShowDocInfo: Swift.Bool |
| 896 | + @objc public var enableCloseCamera: Swift.Bool | ||
| 897 | + @objc public var isCloseCameraCall: Swift.Bool | ||
| 896 | @objc override dynamic public init() | 898 | @objc override dynamic public init() |
| 897 | @objc deinit | 899 | @objc deinit |
| 898 | } | 900 | } |
No preview for this file type
No preview for this file type
| @@ -893,6 +893,8 @@ public var HMHudManager: hhVDoctorSDK.HHHUDable { | @@ -893,6 +893,8 @@ public var HMHudManager: hhVDoctorSDK.HHHUDable { | ||
| 893 | @objc public var allowMulti: Swift.Bool | 893 | @objc public var allowMulti: Swift.Bool |
| 894 | public var mCallExtension: Swift.String | 894 | public var mCallExtension: Swift.String |
| 895 | @objc public var isShowDocInfo: Swift.Bool | 895 | @objc public var isShowDocInfo: Swift.Bool |
| 896 | + @objc public var enableCloseCamera: Swift.Bool | ||
| 897 | + @objc public var isCloseCameraCall: Swift.Bool | ||
| 896 | @objc override dynamic public init() | 898 | @objc override dynamic public init() |
| 897 | @objc deinit | 899 | @objc deinit |
| 898 | } | 900 | } |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This file is too large to display.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
| @@ -27,9 +27,25 @@ | @@ -27,9 +27,25 @@ | ||
| 27 | * [问题说明](#问题说明) | 27 | * [问题说明](#问题说明) |
| 28 | * [支付宝 SDK 冲突](#支付宝-sdk-冲突) | 28 | * [支付宝 SDK 冲突](#支付宝-sdk-冲突) |
| 29 | * [swift 4.1](#swift-41) | 29 | * [swift 4.1](#swift-41) |
| 30 | + * [支付跳转配置](#支付跳转配置) | ||
| 30 | 31 | ||
| 31 | ## 0. 更新日志 | 32 | ## 0. 更新日志 |
| 32 | 33 | ||
| 34 | +> 3.1.0 | ||
| 35 | + | ||
| 36 | + - 增加购买会员配置 | ||
| 37 | + | ||
| 38 | + ``` | ||
| 39 | + 配置方式: | ||
| 40 | + HHSDKOptions.default.mUserCenterOptions.enableBuyService // 默认不支持 | ||
| 41 | + ``` | ||
| 42 | + | ||
| 43 | + | ||
| 44 | + | ||
| 45 | + - 增加叮当购药配置 | ||
| 46 | + | ||
| 47 | + - 关于支付的配置参照问题说明 | ||
| 48 | + | ||
| 33 | > 3.0.6 | 49 | > 3.0.6 |
| 34 | 50 | ||
| 35 | - HHMVideoDelegate增加getChatParentView(_ view : UIView),以便开发者在呼叫页面添加自定义view | 51 | - HHMVideoDelegate增加getChatParentView(_ view : UIView),以便开发者在呼叫页面添加自定义view |
| @@ -321,3 +337,34 @@ master 分支已经支持 swift4.2, 如果需要支持 swift4.1, 请切换到对 | @@ -321,3 +337,34 @@ master 分支已经支持 swift4.2, 如果需要支持 swift4.1, 请切换到对 | ||
| 321 | ``` | 337 | ``` |
| 322 | pod 'HHDoctorSDK', :git => "http://code.hh-medic.com/hh_public/HHDoctorSDK.ios.git", :branch => 'swift4.1' | 338 | pod 'HHDoctorSDK', :git => "http://code.hh-medic.com/hh_public/HHDoctorSDK.ios.git", :branch => 'swift4.1' |
| 323 | ``` | 339 | ``` |
| 340 | + | ||
| 341 | +### 支付跳转配置 | ||
| 342 | + | ||
| 343 | +在使用SDK叮当购药或会员购买服务时,需要为项目配置支付跳转的scheme. | ||
| 344 | + | ||
| 345 | +配置步骤如下: | ||
| 346 | + | ||
| 347 | +Step1: | ||
| 348 | + | ||
| 349 | +在 Targets - Info - URL Types下增加: | ||
| 350 | + | ||
| 351 | + | ||
| 352 | + | ||
| 353 | + | ||
| 354 | + | ||
| 355 | +Step2: | ||
| 356 | + | ||
| 357 | +在AppDelegate下配置如下代码: | ||
| 358 | + | ||
| 359 | +``` | ||
| 360 | +func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { | ||
| 361 | + | ||
| 362 | + if url.scheme == "hh-medic.com" { | ||
| 363 | + NotificationCenter.default.post(name: NSNotification.Name(rawValue: "WX_H5_PAY"), object: nil) | ||
| 364 | + return true | ||
| 365 | + } | ||
| 366 | + | ||
| 367 | + return true | ||
| 368 | + } | ||
| 369 | +``` | ||
| 370 | + |
-
Please register or login to post a comment