Skip to content

Commit b973b5c

Browse files
Merge pull request #77 from Kommunicate-io/release/1.1.7
Release/1.1.7
2 parents 37997a1 + 660311e commit b973b5c

File tree

8 files changed

+19
-12
lines changed

8 files changed

+19
-12
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# CHANGELOG
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.
4+
5+
## [1.1.7] 2024-01-05
6+
- Updated the User Update Api
47
## [1.1.6] 2023-12-23
58
- Changed UI for typing indicator in iOS SDK
69
- Added feature to trigger intents using quick reply

Example/Podfile.lock

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

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

1111
SPEC CHECKSUMS:
12-
KommunicateCore-iOS-SDK: 544bb6f935d4b66576e179c0f9fe932b15bb81c9
12+
KommunicateCore-iOS-SDK: 23cfb68acf81d2e69949434867da1124274f328b
1313

1414
PODFILE CHECKSUM: 7027d57d0977da2f7eeddd9ce9eb5c4b46250a39
1515

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/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.

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.6'
3+
s.version = '1.1.7'
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/JWT/user/ALUserClientService.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ - (void)updateUserDisplayName:(NSString *)displayName
377377
metadata:(NSMutableDictionary *)metadata
378378
withCompletion:(void (^)(id theJson, NSError * error))completionHandler {
379379

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

382382
NSMutableDictionary *userUpdateDictionary = [NSMutableDictionary new];
383383
if (displayName) {
@@ -420,8 +420,8 @@ - (void)updateUser:(NSString *)phoneNumber
420420
email:(NSString *)email
421421
ofUser:(NSString *)userId
422422
withCompletion:(void (^)(id, NSError *))completion {
423-
NSString *forEmailUpdation = @"?elasticUpdate=true&allowEmail=true";
424-
NSString *userUpdateURLString = [NSString stringWithFormat:@"%@/rest/ws/user/update", KBASE_URL];
423+
NSString *forEmailUpdation = @"&allowEmail=true";
424+
NSString *userUpdateURLString = [NSString stringWithFormat:@"%@/rest/ws/user/update?elasticUpdate=true", KBASE_URL];
425425
NSMutableDictionary *userUpdateDictionary = [NSMutableDictionary new];
426426
if (phoneNumber) {
427427
[userUpdateDictionary setObject:phoneNumber forKey:@"phoneNumber"];

Sources/message/ALMessage.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@ - (NSString *)getVOIPMessageText {
304304

305305
- (BOOL)isMsgHidden {
306306

307+
if (self.isAssignmentMessage && self.message == nil) {
308+
return true;
309+
}
310+
307311
if (self.message && ([self.metadata objectForKey:@"KM_ASSIGN_TO"] != nil || [self.metadata objectForKey:@"KM_ASSIGN_TEAM"] != nil)) {
308312
return false;
309313
}

0 commit comments

Comments
 (0)