Skip to content

Commit

Permalink
Merge pull request #68 from Kommunicate-io/release/1.1.5
Browse files Browse the repository at this point in the history
Release/1.1.5
  • Loading branch information
AbhijeetRanjan308 committed Oct 27, 2023
2 parents 577ff3c + c5c8c70 commit 15ccbc0
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 9 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# CHANGELOG

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.

##[1.1.5] 2023-10-27
- Upgraded appsetttings api & optimised the create conversation flow
## [1.1.4] 2023-10-18
- Fixed all messages are not loading in conversation screen.
## [1.1.3] 2023-09-26
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- KommunicateCore-iOS-SDK (1.1.4)
- KommunicateCore-iOS-SDK (1.1.5)

DEPENDENCIES:
- KommunicateCore-iOS-SDK (from `../`)
Expand All @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
KommunicateCore-iOS-SDK: e7ede494b32e5238dd3421d38682ee2ee8c2d22e
KommunicateCore-iOS-SDK: 83e2c8d5b3007417354752a457068bd07e6d2e03

PODFILE CHECKSUM: 7027d57d0977da2f7eeddd9ce9eb5c4b46250a39

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion KommunicateCore-iOS-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'KommunicateCore-iOS-SDK'
s.version = '1.1.4'
s.version = '1.1.5'
s.summary = 'KommunicateCore-iOS SDK pod'
s.description = <<-DESC
The KommunicateCore-iOS SDK helps you build your own custom UI in your iOS app
Expand Down
5 changes: 5 additions & 0 deletions Sources/include/ALApplozicSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ static NSString *const KM_ZENDESK_LAST_SYNC_TIME = @"com.applozic.userdefault.KM
static NSString *const KM_SELECTED_LANGUAGE_FOR_SPEECH_TO_TEXT = @"KM_SELECTED_LANGUAGE_FOR_SPEECH_TO_TEXT";
static NSString *const KM_DEFAULT_UPLOAD_URL = @"KM_DEFAULT_UPLOAD_URL";
static NSString *const KM_DEFAULT_UPLOAD_HEADERS = @"KM_DEFAULT_UPLOAD_HEADERS";
static NSString *const KM_IS_SINGLE_THREADED = @"KM_IS_SINGLE_THREADED";

@interface ALApplozicSettings : NSObject

Expand Down Expand Up @@ -668,4 +669,8 @@ static NSString *const KM_DEFAULT_UPLOAD_HEADERS = @"KM_DEFAULT_UPLOAD_HEADERS";

+ (void) setDefaultOverrideuploadHeaders: (NSMutableDictionary *) headers;
+ (NSMutableDictionary *) getDefaultOverrideuploadHeaders;

+ (void) setIsSingleThreadedEnabled: (BOOL) flag;
+ (BOOL) getIsSingleThreadedEnabled;

@end
11 changes: 11 additions & 0 deletions Sources/prefrence/ALApplozicSettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -2016,4 +2016,15 @@ + (NSMutableDictionary *)getDefaultOverrideuploadHeaders {
return [userDefaults valueForKey:KM_DEFAULT_UPLOAD_HEADERS];
}

+ (void)setIsSingleThreadedEnabled:(BOOL)flag {
NSUserDefaults *userDefaults = [ALApplozicSettings getUserDefaults];
[userDefaults setBool:flag forKey:KM_IS_SINGLE_THREADED];
[userDefaults synchronize];
}

+ (BOOL)getIsSingleThreadedEnabled {
NSUserDefaults *userDefaults = [ALApplozicSettings getUserDefaults];
return [userDefaults boolForKey:KM_IS_SINGLE_THREADED];
}

@end

0 comments on commit 15ccbc0

Please sign in to comment.