Skip to content

Commit

Permalink
release_6.8.4 (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sathyan-KM authored Mar 17, 2023
1 parent 9b1ec33 commit 7849c3c
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 21 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@

The changelog for [Kommunicate-iOS-SDK](https://github.com/Kommunicate-io/Kommunicate-iOS-SDK). Also see the [releases](https://github.com/Kommunicate-io/Kommunicate-iOS-SDK/releases) on Github.

## [6.8.4] 2023-03-17
- Added customization for hidding Chat Widget on Helpcenter (FAQ) Page
- Added Support Multiple language in Speech To Text

## [6.8.3] 2023-03-10
- Fixed SPM Build Issue due to Zendesk dependencies
- Upgraded KMChatUI-iOS-SDK to 1.0.1

## [6.8.1] 2023-03-09
- Fixed conversation client key issue

## [6.8.0] 2023-02-22
- Fixed Auto logout issue and setting client conversation key issue
## [6.7.9] 2023-02-17
Expand Down
22 changes: 11 additions & 11 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ PODS:
- iOSSnapshotTestCase/SwiftSupport (8.0.0):
- iOSSnapshotTestCase/Core
- Kingfisher (7.0.0)
- Kommunicate (6.8.3):
- KommunicateChatUI-iOS-SDK (~> 1.0.1)
- KommunicateChatUI-iOS-SDK (1.0.1):
- KommunicateChatUI-iOS-SDK/Complete (= 1.0.1)
- KommunicateChatUI-iOS-SDK/Complete (1.0.1):
- Kommunicate (6.8.4):
- KommunicateChatUI-iOS-SDK (~> 1.0.2)
- KommunicateChatUI-iOS-SDK (1.0.2):
- KommunicateChatUI-iOS-SDK/Complete (= 1.0.2)
- KommunicateChatUI-iOS-SDK/Complete (1.0.2):
- Kingfisher (~> 7.0.0)
- KommunicateChatUI-iOS-SDK/RichMessageKit
- KommunicateCore-iOS-SDK (~> 1.0.7)
- KommunicateCore-iOS-SDK (~> 1.0.8)
- SwipeCellKit (~> 2.7.1)
- ZendeskChatProvidersSDK (~> 3.0.0)
- KommunicateChatUI-iOS-SDK/RichMessageKit (1.0.1)
- KommunicateCore-iOS-SDK (1.0.7)
- KommunicateChatUI-iOS-SDK/RichMessageKit (1.0.2)
- KommunicateCore-iOS-SDK (1.0.8)
- Nimble (10.0.0)
- Nimble-Snapshots (9.4.0):
- Nimble-Snapshots/Core (= 9.4.0)
Expand Down Expand Up @@ -53,9 +53,9 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
iOSSnapshotTestCase: a670511f9ee3829c2b9c23e6e68f315fd7b6790f
Kingfisher: 5efc54fec3980f92354898532e562cc17f31efb4
Kommunicate: ef401d0adbe3979488ab370245cba43599b6eb04
KommunicateChatUI-iOS-SDK: 8b0fc4b31c5641b22c03ab5fc2911a2aba1ec3dd
KommunicateCore-iOS-SDK: dbcd925238d785a45181d03353a011e3634b23f9
Kommunicate: 19b95918132037cdbd412d24feedb686185ec475
KommunicateChatUI-iOS-SDK: 652ba317eeb14acf8849c4e4eacb5bcea54b33c3
KommunicateCore-iOS-SDK: 69f611a6377424b5253a9650c654bb67921f11ff
Nimble: 5316ef81a170ce87baf72dd961f22f89a602ff84
Nimble-Snapshots: ef281b908c604f78c8313587e25ea92c8ab513d7
Quick: 749aa754fd1e7d984f2000fe051e18a3a9809179
Expand Down
4 changes: 2 additions & 2 deletions Kommunicate.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Kommunicate'
s.version = '6.8.3'
s.version = '6.8.4'
s.summary = 'Kommunicate iOS SDK for customer support.'
s.homepage = 'https://github.com/Kommunicate-io/Kommunicate-iOS-SDK'
s.license = { :type => 'BSD-3-Clause', :file => 'LICENSE' }
Expand All @@ -10,5 +10,5 @@ Pod::Spec.new do |s|
s.swift_version = '5.0'
s.source_files = 'Sources/Kommunicate/Classes/**/*.{swift}'
s.resources = 'Sources/Resources/**/*{lproj,storyboard,xib,xcassets,json,strings}'
s.dependency 'KommunicateChatUI-iOS-SDK' , '~> 1.0.1'
s.dependency 'KommunicateChatUI-iOS-SDK' , '~> 1.0.2'
end
8 changes: 4 additions & 4 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
"repositoryURL": "https://github.com/Kommunicate-io/KommunicateChatUI-iOS-SDK.git",
"state": {
"branch": null,
"revision": "6fc0894b1d41d23199e0f44af2eb150107f9f28b",
"version": "1.0.1"
"revision": "263d206863f50b3dde2fceb1c5bdb4ea37aed09d",
"version": "1.0.2"
}
},
{
"package": "KommunicateCore_iOS_SDK",
"repositoryURL": "https://github.com/Kommunicate-io/KommunicateCore-iOS-SDK.git",
"state": {
"branch": null,
"revision": "b86f917ec2498ad000d1fb666c6e396639cf221e",
"version": "1.0.7"
"revision": "89f2dc35bd7a099d2eec847f5edb951b39b4535c",
"version": "1.0.8"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
),
],
dependencies: [
.package(name: "KommunicateChatUI-iOS-SDK", url: "https://github.com/Kommunicate-io/KommunicateChatUI-iOS-SDK.git", from: "1.0.1"),
.package(name: "KommunicateChatUI-iOS-SDK", url: "https://github.com/Kommunicate-io/KommunicateChatUI-iOS-SDK.git", from: "1.0.2"),
],
targets: [
.target(
Expand Down
4 changes: 2 additions & 2 deletions Sources/Kommunicate/Classes/Extensions/URLBuilder+Faq.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation

extension URLBuilder {
static func faqURL(for applicationKey: String) -> URLBuilder {
return URLBuilder.helpcenterApi.add(item: "appId", value: applicationKey)
static func faqURL(for applicationKey: String, hideChat : Bool) -> URLBuilder {
return URLBuilder.helpcenterApi.add(item: "appId", value: applicationKey).add(item: "hideChat", value: hideChat)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,14 @@ open class KMConversationViewController: ALKConversationViewController {
viewModel.prepareController()
ALMessageService.syncMessages()
}

open override func addLanguageToMetadata(language: String) {
do {
try configuration.updateUserLanguage(tag: language)
} catch {
print("Error while adding User language in metadata", error.localizedDescription)
}
}

override public func loadingFinished(error _: Error?) {
super.loadingFinished(error: nil)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Kommunicate/Classes/Kommunicate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ open class Kommunicate: NSObject, Localizable {
}

open class func openFaq(from vc: UIViewController, with configuration: ALKConfiguration) {
guard let url = URLBuilder.faqURL(for: ALUserDefaultsHandler.getApplicationKey()).url else {
guard let url = URLBuilder.faqURL(for: ALUserDefaultsHandler.getApplicationKey(), hideChat: configuration.hideChatInHelpcenter).url else {
return
}
let faqVC = FaqViewController(url: url, configuration: configuration)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ public class KMConfigurationSetter {
Kommunicate.defaultConfiguration.hideBottomStartNewConversationButton = !showStartNewConversation
}

if let hideChatInHelpCenter = settingDict["hideChatInHelpcenter"] as? Bool {
Kommunicate.defaultConfiguration.hideChatInHelpcenter = hideChatInHelpCenter
}

} catch let error as NSError {
print("Failed to read setting json string \(error.description)")
return false
Expand Down

0 comments on commit 7849c3c

Please sign in to comment.