File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Sources/EaseChatUIKit/Classes/Service/Client Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 88
99Pod ::Spec . new do |s |
1010 s . name = 'EaseChatUIKit'
11- s . version = '4.14 .0'
11+ s . version = '4.15 .0'
1212 s . summary = 'A easy for use ChatUIKit.'
1313
1414# This description is used to generate tags and improve search results.
@@ -36,7 +36,7 @@ TODO: Add long description of the pod here.
3636 s . source_files = [ 'Sources/EaseChatUIKit/Classes/**/*.{h,swift}' ]
3737# s.private_header_files = ['Sources/EaseChatUIKit/Classes/UI/Core/Foundation/third-party/**/*']
3838 s . resources = [ 'Sources/EaseChatUIKit/Classes/UI/**/*.bundle' , 'Sources/EaseChatUIKit/Classes/UI/**/*.xcprivacy' ]
39- s . dependency 'HyphenateChat' , '>= 4.14 .0'
39+ s . dependency 'HyphenateChat' , '>= 4.15 .0'
4040 s . dependency 'FLAnimatedImage' , '~> 1.0'
4141 s . static_framework = true
4242
Original file line number Diff line number Diff line change 11import Foundation
22
3- public let ChatUIKit_VERSION = " 4.12.1 "
3+ public let ChatUIKit_VERSION = " 4.15.0 "
44
55public let cache_update_notification = " ChatUIKitContextUpdateCache "
66
@@ -53,10 +53,13 @@ public let cache_update_notification = "ChatUIKitContextUpdateCache"
5353 @objc ( setupWithAppKey: option: )
5454 public func setup( appKey: String ? = nil , option: ChatOptions ? = nil ) -> ChatError ? {
5555 if let options = option {
56+ options. uikitVersion = ChatUIKit_VERSION
5657 return ChatClient . shared ( ) . initializeSDK ( with: options)
5758 } else {
5859 if let key = appKey {
59- return ChatClient . shared ( ) . initializeSDK ( with: ChatOptions ( appkey: key) )
60+ let options = ChatOptions ( appkey: key)
61+ options. uikitVersion = ChatUIKit_VERSION
62+ return ChatClient . shared ( ) . initializeSDK ( with: options)
6063 }
6164 return ChatError ( description: " App key can't be nil " , code: . invalidAppkey)
6265 }
You can’t perform that action at this time.
0 commit comments