Skip to content

Commit

Permalink
Merge pull request #77 from Kommunicate-io/release/1.1.7
Browse files Browse the repository at this point in the history
Release/1.1.7
  • Loading branch information
AbhijeetRanjan308 committed Jan 5, 2024
2 parents 37997a1 + 660311e commit b973b5c
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 12 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# 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.7] 2024-01-05
- Updated the User Update Api
## [1.1.6] 2023-12-23
- Changed UI for typing indicator in iOS SDK
- Added feature to trigger intents using quick reply
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.6)
- KommunicateCore-iOS-SDK (1.1.7)

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

SPEC CHECKSUMS:
KommunicateCore-iOS-SDK: 544bb6f935d4b66576e179c0f9fe932b15bb81c9
KommunicateCore-iOS-SDK: 23cfb68acf81d2e69949434867da1124274f328b

PODFILE CHECKSUM: 7027d57d0977da2f7eeddd9ce9eb5c4b46250a39

Expand Down

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

6 changes: 3 additions & 3 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.6'
s.version = '1.1.7'
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
6 changes: 3 additions & 3 deletions Sources/JWT/user/ALUserClientService.m
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ - (void)updateUserDisplayName:(NSString *)displayName
metadata:(NSMutableDictionary *)metadata
withCompletion:(void (^)(id theJson, NSError * error))completionHandler {

NSString *userUpdateURLString = [NSString stringWithFormat:@"%@/rest/ws/user/update",KBASE_URL];
NSString *userUpdateURLString = [NSString stringWithFormat:@"%@/rest/ws/user/update?elasticUpdate=true",KBASE_URL];

NSMutableDictionary *userUpdateDictionary = [NSMutableDictionary new];
if (displayName) {
Expand Down Expand Up @@ -420,8 +420,8 @@ - (void)updateUser:(NSString *)phoneNumber
email:(NSString *)email
ofUser:(NSString *)userId
withCompletion:(void (^)(id, NSError *))completion {
NSString *forEmailUpdation = @"?elasticUpdate=true&allowEmail=true";
NSString *userUpdateURLString = [NSString stringWithFormat:@"%@/rest/ws/user/update", KBASE_URL];
NSString *forEmailUpdation = @"&allowEmail=true";
NSString *userUpdateURLString = [NSString stringWithFormat:@"%@/rest/ws/user/update?elasticUpdate=true", KBASE_URL];
NSMutableDictionary *userUpdateDictionary = [NSMutableDictionary new];
if (phoneNumber) {
[userUpdateDictionary setObject:phoneNumber forKey:@"phoneNumber"];
Expand Down
4 changes: 4 additions & 0 deletions Sources/message/ALMessage.m
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ - (NSString *)getVOIPMessageText {

- (BOOL)isMsgHidden {

if (self.isAssignmentMessage && self.message == nil) {
return true;
}

if (self.message && ([self.metadata objectForKey:@"KM_ASSIGN_TO"] != nil || [self.metadata objectForKey:@"KM_ASSIGN_TEAM"] != nil)) {
return false;
}
Expand Down

0 comments on commit b973b5c

Please sign in to comment.