Skip to content

Commit 80b9fb1

Browse files
Merge pull request #366 from Kommunicate-io/dev
Release/1.5.0
2 parents a1b58ed + abbe39a commit 80b9fb1

36 files changed

Lines changed: 382 additions & 155 deletions

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

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

5+
## [1.5.0] 2025-04-15
6+
- Added Business Hours feature.
7+
- Disabled conversation restart when the restart button is hidden.
8+
- Enabled form data persistence in local cache.
9+
- Fixed character limit bug in Dialogflow bot.
10+
- Resolved bug in Text Area component.
11+
512
## [1.4.3] 2025-04-03
613
- Fixed Recording button not wotking properly.
714

Demo/Podfile.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ PODS:
1515
- iOSSnapshotTestCase/SwiftSupport (8.0.0):
1616
- iOSSnapshotTestCase/Core
1717
- Kingfisher (7.10.2)
18-
- KommunicateChatUI-iOS-SDK (1.4.3):
19-
- KommunicateChatUI-iOS-SDK/Complete (= 1.4.3)
20-
- KommunicateChatUI-iOS-SDK/Complete (1.4.3):
18+
- KommunicateChatUI-iOS-SDK (1.5.0):
19+
- KommunicateChatUI-iOS-SDK/Complete (= 1.5.0)
20+
- KommunicateChatUI-iOS-SDK/Complete (1.5.0):
2121
- iOSDropDown
2222
- Kingfisher (~> 7.10.0)
2323
- KommunicateChatUI-iOS-SDK/RichMessageKit
24-
- KommunicateCore-iOS-SDK (= 1.2.6)
24+
- KommunicateCore-iOS-SDK (= 1.3.0)
2525
- SwipeCellKit (~> 2.7.1)
26-
- KommunicateChatUI-iOS-SDK/RichMessageKit (1.4.3)
27-
- KommunicateCore-iOS-SDK (1.2.6)
26+
- KommunicateChatUI-iOS-SDK/RichMessageKit (1.5.0)
27+
- KommunicateCore-iOS-SDK (1.3.0)
2828
- Nimble (13.7.1):
2929
- CwlPreconditionTesting (~> 2.2.0)
3030
- Nimble-Snapshots (9.8.0):
@@ -34,7 +34,7 @@ PODS:
3434
- Nimble (~> 13.0)
3535
- Quick (7.6.2)
3636
- SwiftFormat/CLI (0.48.18)
37-
- SwiftLint (0.58.2)
37+
- SwiftLint (0.59.0)
3838
- SwipeCellKit (2.7.1)
3939

4040
DEPENDENCIES:
@@ -76,13 +76,13 @@ SPEC CHECKSUMS:
7676
iOSDropDown: ce9daa584eaa5567cafc1b633e3cc7eb6d9cea42
7777
iOSSnapshotTestCase: a670511f9ee3829c2b9c23e6e68f315fd7b6790f
7878
Kingfisher: 99edc495d3b7607e6425f0d6f6847b2abd6d716d
79-
KommunicateChatUI-iOS-SDK: 952ff06fad5e5d7eea7c12b6db1e41f85ae822e8
80-
KommunicateCore-iOS-SDK: 0d93451165eef64c95aa97c7db4db49f849b0a49
79+
KommunicateChatUI-iOS-SDK: 76af2cdab4e6b809c47bc860c68f1996a8894024
80+
KommunicateCore-iOS-SDK: 176d0f706e4fd0dfbf2c004d65abb2df2f2e3809
8181
Nimble: 317d713c30c3336dd8571da1889f7ec3afc626e8
8282
Nimble-Snapshots: 240ea76ee8e52dfc1387b8d0d9bf1db3420cabbd
8383
Quick: b8bec97cd4b9f21da0472d45580f763b801fc353
8484
SwiftFormat: 7dd2b33a0a3d61095b61c911b6d89ff962ae695c
85-
SwiftLint: 365bcd9ffc83d0deb874e833556d82549919d6cd
85+
SwiftLint: bb7ba8326d0d93e60d6d1715fc7d4609dec5c76d
8686
SwipeCellKit: 3972254a826da74609926daf59b08d6c72e619ea
8787

8888
PODFILE CHECKSUM: 8d7027df7ae3a22900b6d9071fcc30c1c76341ab

KommunicateChatUI-iOS-SDK.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'KommunicateChatUI-iOS-SDK'
3-
s.version = '1.4.3'
3+
s.version = '1.5.0'
44
s.license = { :type => "BSD 3-Clause", :file => "LICENSE" }
55
s.summary = 'KommunicateChatUI-iOS-SDK Kit'
66
s.homepage = 'https://github.com/Kommunicate-io/KommunicateChatUI-iOS-SDK'
@@ -29,7 +29,7 @@ Pod::Spec.new do |s|
2929
complete.dependency 'Kingfisher', '~> 7.10.0'
3030
complete.dependency 'SwipeCellKit', '~> 2.7.1'
3131
complete.dependency 'iOSDropDown'
32-
complete.dependency 'KommunicateCore-iOS-SDK', '1.2.6'
32+
complete.dependency 'KommunicateCore-iOS-SDK', '1.3.0'
3333
complete.dependency 'KommunicateChatUI-iOS-SDK/RichMessageKit'
3434
end
3535
end

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let package = Package(
1616
),
1717
],
1818
dependencies: [
19-
.package(name: "KommunicateCore_iOS_SDK", url: "https://github.com/Kommunicate-io/KommunicateCore-iOS-SDK.git", from: "1.2.6"),
19+
.package(name: "KommunicateCore_iOS_SDK", url: "https://github.com/Kommunicate-io/KommunicateCore-iOS-SDK.git", from: "1.3.0"),
2020
.package(name: "Kingfisher", url: "https://github.com/onevcat/Kingfisher.git", .exact("7.10.0")),
2121
.package(name: "SwipeCellKit", url: "https://github.com/SwipeCellKit/SwipeCellKit.git", from: "2.7.1"),
2222
.package(name: "ZendeskChatProvidersSDK", url: "https://github.com/zendesk/chat_providers_sdk_ios",.exact("5.0.0")),

Sources/Controllers/ALKConversationListTableViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ extension ALKConversationListTableViewController {
483483
weakSelf.viewModel.remove(message: conversation)
484484
weakSelf.tableView.reloadData()
485485
} else {
486-
channelService.leaveChannel(conversation.groupId, andUserId: ALUserDefaultsHandler.getUserId(), orClientChannelKey: nil, withCompletion: {
486+
channelService.leaveChannel(conversation.groupId, andUserId: KMCoreUserDefaultsHandler.getUserId(), orClientChannelKey: nil, withCompletion: {
487487
error in
488488
self?.stopLoadingIndicator()
489489
guard error == nil else {
@@ -541,7 +541,7 @@ extension ALKConversationListTableViewController {
541541
weakSelf.viewModel.remove(message: conversation)
542542
weakSelf.tableView.reloadData()
543543
} else {
544-
channelService.leaveChannel(conversation.groupId, andUserId: ALUserDefaultsHandler.getUserId(), orClientChannelKey: nil, withCompletion: {
544+
channelService.leaveChannel(conversation.groupId, andUserId: KMCoreUserDefaultsHandler.getUserId(), orClientChannelKey: nil, withCompletion: {
545545
error in
546546
self?.stopLoadingIndicator()
547547
guard error == nil else {

Sources/Controllers/ALKConversationListViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ extension ALKConversationListViewController: ALMQTTConversationDelegate {
509509

510510
open func reloadData(forUserBlockNotification userId: String!, andBlockFlag _: Bool) {
511511
print("reload data")
512-
let userDetail = ALUserDetail()
512+
let userDetail = KMCoreUserDetail()
513513
userDetail.userId = userId
514514
viewModel.updateStatusFor(userDetail: userDetail)
515515
guard let viewController = navigationController?.visibleViewController as? ALKConversationViewController else {
@@ -518,7 +518,7 @@ extension ALKConversationListViewController: ALMQTTConversationDelegate {
518518
viewController.checkUserBlock()
519519
}
520520

521-
open func updateLastSeen(atStatus alUserDetail: ALUserDetail!) {
521+
open func updateLastSeen(atStatus alUserDetail: KMCoreUserDetail!) {
522522
print("Last seen updated")
523523
viewModel.updateStatusFor(userDetail: alUserDetail)
524524
guard let viewController = navigationController?.visibleViewController as? ALKConversationViewController else {

Sources/Controllers/ALKConversationViewController+DocumentManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import UIKit
1111
extension ALKConversationViewController: ALKDocumentManagerDelegate {
1212
func documentSelected(at url: URL, fileName: String) {
1313
// We are getting file size in KB
14-
if let size = FileManager().sizeOfFile(atPath: url.path), size > (ALApplozicSettings.getMaxImageSizeForUploadInMB() * 1024) {
14+
if let size = FileManager().sizeOfFile(atPath: url.path), size > (KMCoreSettings.getMaxImageSizeForUploadInMB() * 1024) {
1515
showUploadRestrictionAlert()
1616
return
1717
}

0 commit comments

Comments
 (0)