Skip to content

Commit

Permalink
Release v1.0.17
Browse files Browse the repository at this point in the history
* Raised minimum target of iOS to `9.0`.
* Raised minimum dependency version of `SendBirdSDK` to `3.0.221`.
* Deprecated interfaces
  * Renamed `SBDSKMain.getSdkVersion()` to `SBDSKMain.getSDKVersion()`
  * (*Swift only*) Renamed first parameters of public interfaces in `SBDSKTicket`
* Stability improvements.
  • Loading branch information
Jaesung Lee committed Apr 28, 2022
1 parent f7373cb commit e7b2749
Show file tree
Hide file tree
Showing 45 changed files with 3,086 additions and 4,457 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

### v1.0.17 (Apr 28, 2022)
* Raised minimum target of iOS to `9.0`.
* Raised minimum dependency version of `SendBirdSDK` to `3.0.221`.
* Deprecated interfaces
* Renamed `SBDSKMain.getSdkVersion()` to `SBDSKMain.getSDKVersion()`
* (*Swift only*) Renamed first parameters of public interfaces in `SBDSKTicket`
* Stability improvements.

### v1.0.16 (Jun 1, 2021)
* `SBDSKTicket.cancel(transferGroupKey:completionHandler:)` has been replaced by `SBDSKTicket.cancel(groupKeyForTransfer:completionHandler:)`.

Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let package = Package(
dependencies: [
.package(name: "SendBirdSDK",
url: "https://github.com/sendbird/sendbird-ios-framework",
from: "3.0.200"),
from: "3.0.221"),
],
targets: [
.binaryTarget(name: "SendBirdDesk", path: "SendBirdDesk.xcframework"),
Expand Down
8 changes: 4 additions & 4 deletions SendBirdDesk.podspec
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Pod::Spec.new do |s|
s.name = "SendBirdDesk"
s.version = "1.0.16"
s.version = "1.0.17"
s.summary = "SendBird Desk iOS Framework"
s.homepage = "https://sendbird.com"
s.license = "Commercial"
s.author = { "Jed Gyeong" => "[email protected]", "Tez Park" => "[email protected]", "Minhyuk Kim" => "[email protected]" }
s.author = { "Jed Gyeong" => "[email protected]", "Tez Park" => "[email protected]", "Minhyuk Kim" => "[email protected]", "Jaesung Lee" => "[email protected]" }
s.source = { :git => "https://github.com/sendbird/SendBird-Desk-iOS-Framework.git", :tag => "v#{s.version}" }
s.requires_arc = true
s.platform = :ios, "8.0"
s.platform = :ios, "9.0"
s.documentation_url = 'https://docs.sendbird.com/'
s.ios.vendored_frameworks = 'SendBirdDesk.xcframework'
s.ios.frameworks = ["UIKit", "AVFoundation", "AVKit", "UserNotifications"]

s.dependency 'SendBirdSDK', "~> 3.0.200"
s.dependency 'SendBirdSDK', "~> 3.0.221"
end
3 changes: 2 additions & 1 deletion SendBirdDesk.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-i386_x86_64-simulator</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>SendBirdDesk.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
#ifndef SENDBIRDDESK_SWIFT_H
#define SENDBIRDDESK_SWIFT_H
#pragma clang diagnostic push
Expand Down Expand Up @@ -191,6 +191,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import Dispatch;
@import Foundation;
@import ObjectiveC;
#endif

Expand All @@ -211,6 +212,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));



@class NSString;

/// 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.
SWIFT_CLASS("_TtC12SendBirdDesk10SBDSKAgent")
Expand All @@ -221,9 +223,11 @@ SWIFT_CLASS("_TtC12SendBirdDesk10SBDSKAgent")
@property (nonatomic, readonly, copy) NSString * _Nullable name;
/// The profile image’s URL of the agent.
@property (nonatomic, readonly, copy) NSString * _Nullable profileUrl;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end

@class NSNumber;
@class SBDSKFAQResult;
@class SBDBaseMessage;

Expand All @@ -242,7 +246,8 @@ SWIFT_CLASS("_TtC12SendBirdDesk12SBDSKFAQData")
/// since:
/// 1.0.15
@property (nonatomic, readonly, copy) NSArray<SBDSKFAQResult *> * _Nonnull faqResults;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
/// Initializes SBDSKFAQData with given SBDBaseMessage
/// since:
/// 1.0.15
Expand Down Expand Up @@ -283,20 +288,21 @@ SWIFT_CLASS("_TtCC12SendBirdDesk12SBDSKFAQData14SBDSKFAQResult")
@class SBDError;
@class SBDBaseChannel;

/// This class is a main class of SendBird Desk.
/// This class is a main class of Sendbird Desk.
SWIFT_CLASS("_TtC12SendBirdDesk9SBDSKMain")
@interface SBDSKMain : NSObject
/// Initializes SendBird Desk.
/// Initializes Sendbird Desk.
///
/// returns:
/// If true, the initialization is successful. This method has to be called after <a href="https://docs.sendbird.com/ref/ios/Classes/SBDMain.html#//api/name/initWithApplicationId:">initializing SendBird SDK</a>.
/// If true, the initialization is successful. This method has to be called after <a href="https://docs.sendbird.com/ref/ios/Classes/SBDMain.html#//api/name/initWithApplicationId:">initializing Sendbird SDK</a>.
+ (BOOL)initializeDesk;
/// Returns the version of SendBird Desk.
/// Returns the version of Sendbird Desk.
///
/// returns:
/// The version of SendBird Desk.
+ (NSString * _Nonnull)getSdkVersion SWIFT_WARN_UNUSED_RESULT;
/// Sets a dispatch queue for every completion handler in SendBird Desk.
/// The version of Sendbird Desk.
+ (NSString * _Nonnull)getSDKVersion SWIFT_WARN_UNUSED_RESULT;
+ (NSString * _Nonnull)getSdkVersion SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Deprecated in 1.0.17", "getSDKVersion");
/// Sets a dispatch queue for every completion handler in Sendbird Desk.
/// \param queue A dispatch queue that will be used for every completion handler.
///
+ (void)setCompletionHandlerDelegateQueue:(dispatch_queue_t _Nonnull)queue;
Expand Down Expand Up @@ -416,16 +422,26 @@ SWIFT_CLASS("_TtC12SendBirdDesk11SBDSKTicket")
/// Creates a new ticket with information.
/// since:
/// 1.0.4
/// \param title The title of a new ticket.
///
/// \param userName The customer’s name.
///
/// \param groupKey The agent group key.
///
/// \param customFields The custom fields that the admin already sets on dashboard.
///
/// \param completionHandler The handler block to execute. If the method creates a ticket successfully, the <code>ticket</code> object will be valid and the <code>error</code> will be nil.
///
/// <ul>
/// <li>
/// Parameters:
/// </li>
/// <li>
/// title: The title of a new ticket.
/// </li>
/// <li>
/// userName: The customer’s name.
/// </li>
/// <li>
/// groupKey: The agent group key.
/// </li>
/// <li>
/// customFields: The custom fields that the admin already sets on dashboard.
/// </li>
/// <li>
/// completionHandler: The handler block to execute. If the method creates a ticket successfully, the <code>ticket</code> object will be valid and the <code>error</code> will be nil.
/// </li>
/// </ul>
+ (void)createTicketWithTitle:(NSString * _Nullable)title userName:(NSString * _Nullable)userName groupKey:(NSString * _Nullable)groupKey customFields:(NSDictionary<NSString *, NSString *> * _Nullable)customFields completionHandler:(void (^ _Nullable)(SBDSKTicket * _Nullable, SBDError * _Nullable))completionHandler;
/// Creates a new ticket with information.
/// since:
Expand Down Expand Up @@ -608,7 +624,7 @@ typedef SWIFT_ENUM(NSInteger, SBDSKTicketPriority, open) {
#endif

#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
#ifndef SENDBIRDDESK_SWIFT_H
#define SENDBIRDDESK_SWIFT_H
#pragma clang diagnostic push
Expand Down Expand Up @@ -799,6 +815,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import Dispatch;
@import Foundation;
@import ObjectiveC;
#endif

Expand All @@ -819,6 +836,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));



@class NSString;

/// 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.
SWIFT_CLASS("_TtC12SendBirdDesk10SBDSKAgent")
Expand All @@ -829,9 +847,11 @@ SWIFT_CLASS("_TtC12SendBirdDesk10SBDSKAgent")
@property (nonatomic, readonly, copy) NSString * _Nullable name;
/// The profile image’s URL of the agent.
@property (nonatomic, readonly, copy) NSString * _Nullable profileUrl;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end

@class NSNumber;
@class SBDSKFAQResult;
@class SBDBaseMessage;

Expand All @@ -850,7 +870,8 @@ SWIFT_CLASS("_TtC12SendBirdDesk12SBDSKFAQData")
/// since:
/// 1.0.15
@property (nonatomic, readonly, copy) NSArray<SBDSKFAQResult *> * _Nonnull faqResults;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
/// Initializes SBDSKFAQData with given SBDBaseMessage
/// since:
/// 1.0.15
Expand Down Expand Up @@ -891,20 +912,21 @@ SWIFT_CLASS("_TtCC12SendBirdDesk12SBDSKFAQData14SBDSKFAQResult")
@class SBDError;
@class SBDBaseChannel;

/// This class is a main class of SendBird Desk.
/// This class is a main class of Sendbird Desk.
SWIFT_CLASS("_TtC12SendBirdDesk9SBDSKMain")
@interface SBDSKMain : NSObject
/// Initializes SendBird Desk.
/// Initializes Sendbird Desk.
///
/// returns:
/// If true, the initialization is successful. This method has to be called after <a href="https://docs.sendbird.com/ref/ios/Classes/SBDMain.html#//api/name/initWithApplicationId:">initializing SendBird SDK</a>.
/// If true, the initialization is successful. This method has to be called after <a href="https://docs.sendbird.com/ref/ios/Classes/SBDMain.html#//api/name/initWithApplicationId:">initializing Sendbird SDK</a>.
+ (BOOL)initializeDesk;
/// Returns the version of SendBird Desk.
/// Returns the version of Sendbird Desk.
///
/// returns:
/// The version of SendBird Desk.
+ (NSString * _Nonnull)getSdkVersion SWIFT_WARN_UNUSED_RESULT;
/// Sets a dispatch queue for every completion handler in SendBird Desk.
/// The version of Sendbird Desk.
+ (NSString * _Nonnull)getSDKVersion SWIFT_WARN_UNUSED_RESULT;
+ (NSString * _Nonnull)getSdkVersion SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Deprecated in 1.0.17", "getSDKVersion");
/// Sets a dispatch queue for every completion handler in Sendbird Desk.
/// \param queue A dispatch queue that will be used for every completion handler.
///
+ (void)setCompletionHandlerDelegateQueue:(dispatch_queue_t _Nonnull)queue;
Expand Down Expand Up @@ -1024,16 +1046,26 @@ SWIFT_CLASS("_TtC12SendBirdDesk11SBDSKTicket")
/// Creates a new ticket with information.
/// since:
/// 1.0.4
/// \param title The title of a new ticket.
///
/// \param userName The customer’s name.
///
/// \param groupKey The agent group key.
///
/// \param customFields The custom fields that the admin already sets on dashboard.
///
/// \param completionHandler The handler block to execute. If the method creates a ticket successfully, the <code>ticket</code> object will be valid and the <code>error</code> will be nil.
///
/// <ul>
/// <li>
/// Parameters:
/// </li>
/// <li>
/// title: The title of a new ticket.
/// </li>
/// <li>
/// userName: The customer’s name.
/// </li>
/// <li>
/// groupKey: The agent group key.
/// </li>
/// <li>
/// customFields: The custom fields that the admin already sets on dashboard.
/// </li>
/// <li>
/// completionHandler: The handler block to execute. If the method creates a ticket successfully, the <code>ticket</code> object will be valid and the <code>error</code> will be nil.
/// </li>
/// </ul>
+ (void)createTicketWithTitle:(NSString * _Nullable)title userName:(NSString * _Nullable)userName groupKey:(NSString * _Nullable)groupKey customFields:(NSDictionary<NSString *, NSString *> * _Nullable)customFields completionHandler:(void (^ _Nullable)(SBDSKTicket * _Nullable, SBDError * _Nullable))completionHandler;
/// Creates a new ticket with information.
/// since:
Expand Down
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit e7b2749

Please sign in to comment.