Skip to content

Commit 2a963e9

Browse files
authored
Merge pull request #80 from Kommunicate-io/dev
Release/1.1.8
2 parents b973b5c + 4120f0e commit 2a963e9

File tree

11 files changed

+947
-922
lines changed

11 files changed

+947
-922
lines changed

CHANGELOG.md

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

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

5+
## [1.1.8] 2024-02-12
6+
- Zendesk (Zopim) integration optimisations
7+
- Sync Api optimization
58
## [1.1.7] 2024-01-05
69
- Updated the User Update Api
710
## [1.1.6] 2023-12-23

Example/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- KommunicateCore-iOS-SDK (1.1.7)
2+
- KommunicateCore-iOS-SDK (1.1.8)
33

44
DEPENDENCIES:
55
- KommunicateCore-iOS-SDK (from `../`)
@@ -9,8 +9,8 @@ EXTERNAL SOURCES:
99
:path: "../"
1010

1111
SPEC CHECKSUMS:
12-
KommunicateCore-iOS-SDK: 23cfb68acf81d2e69949434867da1124274f328b
12+
KommunicateCore-iOS-SDK: 87c6e7c9f0e1e32d258c36b70ba20ffbd4428c90
1313

1414
PODFILE CHECKSUM: 7027d57d0977da2f7eeddd9ce9eb5c4b46250a39
1515

16-
COCOAPODS: 1.12.1
16+
COCOAPODS: 1.14.3

Example/Pods/Local Podspecs/KommunicateCore-iOS-SDK.podspec.json

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

Example/Pods/Manifest.lock

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

Example/Pods/Pods.xcodeproj/project.pbxproj

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

Example/Pods/Target Support Files/KommunicateCore-iOS-SDK/KommunicateCore-iOS-SDK-Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/Pods-KommunicateCore-iOS-SDK_Example/Pods-KommunicateCore-iOS-SDK_Example-frameworks.sh

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

KommunicateCore-iOS-SDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'KommunicateCore-iOS-SDK'
3-
s.version = '1.1.7'
3+
s.version = '1.1.8'
44
s.summary = 'KommunicateCore-iOS SDK pod'
55
s.description = <<-DESC
66
The KommunicateCore-iOS SDK helps you build your own custom UI in your iOS app

Sources/channel/ALChannelService.m

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ @implementation ALChannelService
2525
NSString *const AL_MESSAGE_LIST = @"AL_MESSAGE_LIST";
2626
NSString *const AL_MESSAGE_SYNC = @"AL_MESSAGE_SYNC";
2727
NSString *const AL_CHANNEL_MEMBER_CALL_COMPLETED = @"AL_CHANNEL_MEMBER_CALL_COMPLETED";
28+
NSNumber *syncCallTriggerTime = 0L;
2829

2930
dispatch_queue_t channelUserbackgroundQueue;
3031

@@ -732,7 +733,12 @@ - (void)syncCallForChannel {
732733
- (void)syncCallForChannelWithDelegate:(id<ApplozicUpdatesDelegate>)delegate {
733734

734735
NSNumber *updateAtTime = [ALUserDefaultsHandler getLastSyncChannelTime];
735-
736+
737+
if ((syncCallTriggerTime != nil || syncCallTriggerTime != 0L) && syncCallTriggerTime == updateAtTime) {
738+
return;
739+
}
740+
741+
syncCallTriggerTime = updateAtTime;
736742
[self.channelClientService syncCallForChannel:updateAtTime withFetchUserDetails:YES andCompletion:^(NSError *error, ALChannelSyncResponse *response) {
737743
if (!error) {
738744
[ALUserDefaultsHandler setLastSyncChannelTime:response.generatedAt];

Sources/include/ALApplozicSettings.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,4 +673,7 @@ static NSString *const KM_IS_SINGLE_THREADED = @"KM_IS_SINGLE_THREADED";
673673
+ (void) setIsSingleThreadedEnabled: (BOOL) flag;
674674
+ (BOOL) getIsSingleThreadedEnabled;
675675

676+
+ (void) setIsChatTranscriptSent:(NSString*)groupId;
677+
+ (BOOL) isChatTranscriptSent:(NSString*)groupId;
678+
676679
@end

0 commit comments

Comments
 (0)