Skip to content

Commit 5ef1120

Browse files
committed
Release v1.1.8
1 parent 2473c4d commit 5ef1120

33 files changed

+4025
-2434
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Change Log
22

3+
### v1.1.8 (Jul 17, 2025) with Chat SDK **v4.28.0**
4+
* Authenticate user with optional language parameter
5+
* `authenticate(withUserId:accessToken:language:completionHandler:)`
6+
* Update customer's language setting after authentication
7+
* `setCustomerLanguage(language:completionHandler:)`
8+
* Language format: IETF BCP 47 standard ("en", "ko", "ja")
9+
10+
#### Minimum iOS Version Requirement Updated
11+
* The minimum supported iOS version has been raised from iOS 12 to **iOS 13**.
12+
* No changes to functionality—just ensuring compatibility with modern iOS environments.
13+
14+
315
### v1.1.7 (Mar 25, 2025) with Chat SDK **v4.25.0**
416

517
#### Minimum iOS Version Requirement Updated

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let package = Package(
1414
dependencies: [
1515
.package(name: "SendbirdChatSDK",
1616
url: "https://github.com/sendbird/sendbird-chat-sdk-ios",
17-
from: "4.25.0"),
17+
from: "4.28.0"),
1818
],
1919
targets: [
2020
.binaryTarget(name: "SendBirdDesk", path: "SendBirdDesk.xcframework"),

SendBirdDesk.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 = "SendBirdDesk"
3-
s.version = "1.1.7"
3+
s.version = "1.1.8"
44
s.summary = "SendBird Desk iOS Framework"
55
s.homepage = "https://sendbird.com"
66
s.license = "Commercial"
@@ -21,5 +21,5 @@ Pod::Spec.new do |s|
2121
s.ios.vendored_frameworks = 'SendBirdDesk.xcframework'
2222
s.ios.frameworks = ["UIKit", "AVFoundation", "AVKit", "UserNotifications"]
2323

24-
s.dependency 'SendbirdChatSDK', ">= 4.25.0"
24+
s.dependency 'SendbirdChatSDK', ">= 4.28.0"
2525
end

SendBirdDesk.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,34 @@
1010
<key>DebugSymbolsPath</key>
1111
<string>dSYMs</string>
1212
<key>LibraryIdentifier</key>
13-
<string>ios-arm64_x86_64-simulator</string>
13+
<string>ios-arm64</string>
1414
<key>LibraryPath</key>
1515
<string>SendBirdDesk.framework</string>
1616
<key>SupportedArchitectures</key>
1717
<array>
1818
<string>arm64</string>
19-
<string>x86_64</string>
2019
</array>
2120
<key>SupportedPlatform</key>
2221
<string>ios</string>
23-
<key>SupportedPlatformVariant</key>
24-
<string>simulator</string>
2522
</dict>
2623
<dict>
2724
<key>BinaryPath</key>
2825
<string>SendBirdDesk.framework/SendBirdDesk</string>
2926
<key>DebugSymbolsPath</key>
3027
<string>dSYMs</string>
3128
<key>LibraryIdentifier</key>
32-
<string>ios-arm64</string>
29+
<string>ios-arm64_x86_64-simulator</string>
3330
<key>LibraryPath</key>
3431
<string>SendBirdDesk.framework</string>
3532
<key>SupportedArchitectures</key>
3633
<array>
3734
<string>arm64</string>
35+
<string>x86_64</string>
3836
</array>
3937
<key>SupportedPlatform</key>
4038
<string>ios</string>
39+
<key>SupportedPlatformVariant</key>
40+
<string>simulator</string>
4141
</dict>
4242
</array>
4343
<key>CFBundlePackageType</key>

SendBirdDesk.xcframework/ios-arm64/SendBirdDesk.framework/Headers/SendBirdDesk-Swift.h

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#if 0
22
#elif defined(__arm64__) && __arm64__
3-
// Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
3+
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
44
#ifndef SENDBIRDDESK_SWIFT_H
55
#define SENDBIRDDESK_SWIFT_H
66
#pragma clang diagnostic push
@@ -65,6 +65,7 @@
6565
# if __has_include(<uchar.h>)
6666
# include <uchar.h>
6767
# elif !defined(__cplusplus)
68+
typedef unsigned char char8_t;
6869
typedef uint_least16_t char16_t;
6970
typedef uint_least32_t char32_t;
7071
# endif
@@ -305,9 +306,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
305306

306307
#if defined(__OBJC__)
307308

308-
309309
@class NSString;
310-
311310
/// This class represents an agent who chats with a customer. It is not a subclass of <a href="https://docs.sendbird.com/ref/ios/Classes/SBDUser.html">SBDUser</a> of SendBird, but this class and <a href="https://docs.sendbird.com/ref/ios/Classes/SBDUser.html">SBDUser</a> class share the same identification.
312311
SWIFT_CLASS("_TtC12SendBirdDesk10SBDSKAgent")
313312
@interface SBDSKAgent : NSObject
@@ -323,7 +322,6 @@ SWIFT_CLASS("_TtC12SendBirdDesk10SBDSKAgent")
323322

324323
@class SBDSKFAQResult;
325324
@class SBDBaseMessage;
326-
327325
/// Class that represents FAQ data.
328326
SWIFT_CLASS("_TtC12SendBirdDesk12SBDSKFAQData")
329327
@interface SBDSKFAQData : NSObject
@@ -347,7 +345,6 @@ SWIFT_CLASS("_TtC12SendBirdDesk12SBDSKFAQData")
347345
- (nullable instancetype)initWithMessage:(SBDBaseMessage * _Nonnull)message OBJC_DESIGNATED_INITIALIZER;
348346
@end
349347

350-
351348
SWIFT_CLASS("_TtCC12SendBirdDesk12SBDSKFAQData14SBDSKFAQResult")
352349
@interface SBDSKFAQResult : NSObject
353350
/// Category of the question result
@@ -380,7 +377,6 @@ SWIFT_CLASS("_TtCC12SendBirdDesk12SBDSKFAQData14SBDSKFAQResult")
380377

381378
@class SBError;
382379
@class SBDBaseChannel;
383-
384380
/// This class is a main class of Sendbird Desk.
385381
SWIFT_CLASS("_TtC12SendBirdDesk9SBDSKMain")
386382
@interface SBDSKMain : NSObject
@@ -406,6 +402,22 @@ SWIFT_CLASS("_TtC12SendBirdDesk9SBDSKMain")
406402
/// \param completionHandler The handler block to execute. If the method updates this ticket successfully, the <code>error</code> will be nil.
407403
///
408404
+ (void)authenticateWithUserId:(NSString * _Nonnull)userId accessToken:(NSString * _Nullable)accessToken completionHandler:(void (^ _Nullable)(SBError * _Nullable))completionHandler;
405+
/// Authenticates the current user with Sendbird Desk using the provided credentials.
406+
/// important:
407+
/// This method requires that <code>SBDSKMain.initializeDesk()</code> is called beforehand.
408+
/// since:
409+
/// [NEXT_VERSION]
410+
/// \param userId The unique user ID to authenticate.
411+
///
412+
/// \param accessToken (Optional) The access token associated with the user.
413+
///
414+
/// \param language (Optional) Specify the language in IETF BCP 47 format. An example would be “en” and “ja”.
415+
///
416+
/// \param completionHandler A closure that is called when the authentication process completes.
417+
/// If authentication is successful, the <code>error</code> will be <code>nil</code>. Otherwise, it contains
418+
/// the error object describing the issue.
419+
///
420+
+ (void)authenticateWithUserId:(NSString * _Nonnull)userId accessToken:(NSString * _Nullable)accessToken language:(NSString * _Nullable)language completionHandler:(void (^ _Nullable)(SBError * _Nullable))completionHandler;
409421
/// Checks whether the <code>channel</code> is a desk channel or not.
410422
/// \param channel The channel instance that is necessary to check.
411423
///
@@ -424,7 +436,6 @@ SWIFT_CLASS("_TtC12SendBirdDesk9SBDSKMain")
424436
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
425437
@end
426438

427-
428439
/// This class represents a channel that is related to a <code>SBDSKTicket</code>. It contains a string <code>name</code> and string <code>channelUrl</code> of the related channel.
429440
/// since:
430441
/// 1.0.7
@@ -442,7 +453,6 @@ SWIFT_CLASS("_TtC12SendBirdDesk19SBDSKRelatedChannel")
442453

443454
@class SBDGroupChannel;
444455
enum SBDSKTicketPriority : NSInteger;
445-
446456
/// This class represents a ticket that identifies a chat between an <em>agent</em> and a customer.
447457
SWIFT_CLASS("_TtC12SendBirdDesk11SBDSKTicket")
448458
@interface SBDSKTicket : NSObject
@@ -478,10 +488,7 @@ SWIFT_CLASS("_TtC12SendBirdDesk11SBDSKTicket")
478488
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
479489
@end
480490

481-
482-
483491
@class SBDUserMessage;
484-
485492
@interface SBDSKTicket (SWIFT_EXTENSION(SendBirdDesk))
486493
/// Refreshes this ticket. After invoking this method, this ticket is updated with the latest data.
487494
/// \param completionHandler The handler block to execute. If the method updates this ticket successfully, the <code>error</code> will be nil.
Binary file not shown.

0 commit comments

Comments
 (0)