Skip to content

Commit

Permalink
Release v1.0.16 - `SBDSKTicket.cancel(transferGroupKey:completionHand…
Browse files Browse the repository at this point in the history
…ler:)` has been replaced by `SBDSKTicket.cancel(groupKeyForTransfer:completionHandler:)`.
  • Loading branch information
mininny committed Jun 1, 2021
1 parent 309293b commit f7373cb
Show file tree
Hide file tree
Showing 33 changed files with 211 additions and 242 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

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

### v1.0.15 (May 21, 2021)
* Migrated SDK language to Swift.
* Added support for XCFramework
Expand Down
4 changes: 2 additions & 2 deletions SendBirdDesk.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SendBirdDesk"
s.version = "1.0.15"
s.version = "1.0.16"
s.summary = "SendBird Desk iOS Framework"
s.homepage = "https://sendbird.com"
s.license = "Commercial"
Expand All @@ -9,7 +9,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.platform = :ios, "8.0"
s.documentation_url = 'https://docs.sendbird.com/'
s.ios.vendored_frameworks = 'SendBirdDesk.framework'
s.ios.vendored_frameworks = 'SendBirdDesk.xcframework'
s.ios.frameworks = ["UIKit", "AVFoundation", "AVKit", "UserNotifications"]

s.dependency 'SendBirdSDK', "~> 3.0.200"
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
#ifndef SENDBIRDDESK_SWIFT_H
#define SENDBIRDDESK_SWIFT_H
#pragma clang diagnostic push
Expand Down Expand Up @@ -280,17 +280,12 @@ SWIFT_CLASS("_TtCC12SendBirdDesk12SBDSKFAQData14SBDSKFAQResult")
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end

@class SBDError;
@class SBDBaseChannel;

/// This class is a main class of SendBird Desk.
SWIFT_CLASS("_TtC12SendBirdDesk9SBDSKMain")
@interface SBDSKMain : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

@class SBDError;
@class SBDBaseChannel;

@interface SBDSKMain (SWIFT_EXTENSION(SendBirdDesk))
/// Initializes SendBird Desk.
///
/// returns:
Expand Down Expand Up @@ -328,6 +323,7 @@ SWIFT_CLASS("_TtC12SendBirdDesk9SBDSKMain")
/// \param completionHandler The handler block to execute. If the method sets successfully, the <code>error</code> will be nil.
///
+ (void)setCustomerCustomFields:(NSDictionary<NSString *, NSString *> * _Nonnull)customFields completionHandler:(void (^ _Nullable)(SBDError * _Nullable))completionHandler;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end


Expand Down Expand Up @@ -581,11 +577,11 @@ SWIFT_CLASS("_TtC12SendBirdDesk11SBDSKTicket")
/// Cancel a ticket.
/// since:
/// 1.0.14
/// \param transferGroupKey group key to transfer this ticket to. Optional.
/// \param groupKeyForTransfer group key to transfer this ticket to. Optional.
///
/// \param completionHandler The handler block to execute. If the method sets successfully, the <code>error</code> will be nil.
///
- (void)cancelWithTransferGroupKey:(NSString * _Nullable)transferGroupKey completionHandler:(void (^ _Nullable)(SBDSKTicket * _Nullable, SBDError * _Nullable))completionHandler;
- (void)cancelWithGroupKeyForTransfer:(NSString * _Nullable)groupKeyForTransfer completionHandler:(void (^ _Nullable)(SBDSKTicket * _Nullable, SBDError * _Nullable))completionHandler;
/// Select a question
/// since:
/// 1.0.14
Expand All @@ -612,7 +608,7 @@ typedef SWIFT_ENUM(NSInteger, SBDSKTicketPriority, open) {
#endif

#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
// Generated by Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
#ifndef SENDBIRDDESK_SWIFT_H
#define SENDBIRDDESK_SWIFT_H
#pragma clang diagnostic push
Expand Down Expand Up @@ -892,17 +888,12 @@ SWIFT_CLASS("_TtCC12SendBirdDesk12SBDSKFAQData14SBDSKFAQResult")
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end

@class SBDError;
@class SBDBaseChannel;

/// This class is a main class of SendBird Desk.
SWIFT_CLASS("_TtC12SendBirdDesk9SBDSKMain")
@interface SBDSKMain : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

@class SBDError;
@class SBDBaseChannel;

@interface SBDSKMain (SWIFT_EXTENSION(SendBirdDesk))
/// Initializes SendBird Desk.
///
/// returns:
Expand Down Expand Up @@ -940,6 +931,7 @@ SWIFT_CLASS("_TtC12SendBirdDesk9SBDSKMain")
/// \param completionHandler The handler block to execute. If the method sets successfully, the <code>error</code> will be nil.
///
+ (void)setCustomerCustomFields:(NSDictionary<NSString *, NSString *> * _Nonnull)customFields completionHandler:(void (^ _Nullable)(SBDError * _Nullable))completionHandler;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end


Expand Down Expand Up @@ -1193,11 +1185,11 @@ SWIFT_CLASS("_TtC12SendBirdDesk11SBDSKTicket")
/// Cancel a ticket.
/// since:
/// 1.0.14
/// \param transferGroupKey group key to transfer this ticket to. Optional.
/// \param groupKeyForTransfer group key to transfer this ticket to. Optional.
///
/// \param completionHandler The handler block to execute. If the method sets successfully, the <code>error</code> will be nil.
///
- (void)cancelWithTransferGroupKey:(NSString * _Nullable)transferGroupKey completionHandler:(void (^ _Nullable)(SBDSKTicket * _Nullable, SBDError * _Nullable))completionHandler;
- (void)cancelWithGroupKeyForTransfer:(NSString * _Nullable)groupKeyForTransfer completionHandler:(void (^ _Nullable)(SBDSKTicket * _Nullable, SBDError * _Nullable))completionHandler;
/// Select a question
/// since:
/// 1.0.14
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
// swift-module-flags: -target armv7-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SendBirdDesk
import Foundation
@_exported import SendBirdDesk
Expand Down Expand Up @@ -35,17 +35,15 @@ import UIKit
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class SBDSKMain : ObjectiveC.NSObject {
@objc deinit
@objc override dynamic public init()
}
extension SBDSKMain {
@discardableResult
@objc public static func initializeDesk() -> Swift.Bool
@objc public static func getSdkVersion() -> Swift.String
@objc public static func setCompletionHandlerDelegateQueue(_ queue: Dispatch.DispatchQueue)
@objc(authenticateWithUserId:accessToken:completionHandler:) public static func authenticate(withUserId userId: Swift.String, accessToken: Swift.String? = nil, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc public static func isDeskChannel(_ channel: SendBirdSDK.SBDBaseChannel) -> Swift.Bool
@objc public static func setCustomerCustomFields(_ customFields: [Swift.String : Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc deinit
@objc override dynamic public init()
}
@objc public enum SBDSKTicketPriority : Swift.Int, Swift.Codable {
case low = 0
Expand Down Expand Up @@ -115,7 +113,7 @@ extension SBDSKTicket {
@objc dynamic public func setCustomFields(_ customFields: [Swift.String : Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func setPriority(_ priority: SendBirdDesk.SBDSKTicketPriority, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func setRelatedChannels(_ relatedChannels: [Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func cancel(transferGroupKey: Swift.String?, completionHandler: SendBirdDesk.SBDSKTicketHandler?)
@objc(cancelWithGroupKeyForTransfer:completionHandler:) dynamic public func cancel(groupKeyForTransfer: Swift.String?, completionHandler: SendBirdDesk.SBDSKTicketHandler?)
@objc dynamic public func selectQuestion(faqFileId: Swift.Int64, question: Swift.String, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
}
@_inheritsConvenienceInitializers @objc public class SBDSKAgent : ObjectiveC.NSObject, Swift.Codable {
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
// swift-module-flags: -target arm64-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SendBirdDesk
import Foundation
@_exported import SendBirdDesk
Expand Down Expand Up @@ -35,17 +35,15 @@ import UIKit
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class SBDSKMain : ObjectiveC.NSObject {
@objc deinit
@objc override dynamic public init()
}
extension SBDSKMain {
@discardableResult
@objc public static func initializeDesk() -> Swift.Bool
@objc public static func getSdkVersion() -> Swift.String
@objc public static func setCompletionHandlerDelegateQueue(_ queue: Dispatch.DispatchQueue)
@objc(authenticateWithUserId:accessToken:completionHandler:) public static func authenticate(withUserId userId: Swift.String, accessToken: Swift.String? = nil, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc public static func isDeskChannel(_ channel: SendBirdSDK.SBDBaseChannel) -> Swift.Bool
@objc public static func setCustomerCustomFields(_ customFields: [Swift.String : Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc deinit
@objc override dynamic public init()
}
@objc public enum SBDSKTicketPriority : Swift.Int, Swift.Codable {
case low = 0
Expand Down Expand Up @@ -115,7 +113,7 @@ extension SBDSKTicket {
@objc dynamic public func setCustomFields(_ customFields: [Swift.String : Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func setPriority(_ priority: SendBirdDesk.SBDSKTicketPriority, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func setRelatedChannels(_ relatedChannels: [Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func cancel(transferGroupKey: Swift.String?, completionHandler: SendBirdDesk.SBDSKTicketHandler?)
@objc(cancelWithGroupKeyForTransfer:completionHandler:) dynamic public func cancel(groupKeyForTransfer: Swift.String?, completionHandler: SendBirdDesk.SBDSKTicketHandler?)
@objc dynamic public func selectQuestion(faqFileId: Swift.Int64, question: Swift.String, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
}
@_inheritsConvenienceInitializers @objc public class SBDSKAgent : ObjectiveC.NSObject, Swift.Codable {
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
// swift-module-flags: -target arm64-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SendBirdDesk
import Foundation
@_exported import SendBirdDesk
Expand Down Expand Up @@ -35,17 +35,15 @@ import UIKit
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class SBDSKMain : ObjectiveC.NSObject {
@objc deinit
@objc override dynamic public init()
}
extension SBDSKMain {
@discardableResult
@objc public static func initializeDesk() -> Swift.Bool
@objc public static func getSdkVersion() -> Swift.String
@objc public static func setCompletionHandlerDelegateQueue(_ queue: Dispatch.DispatchQueue)
@objc(authenticateWithUserId:accessToken:completionHandler:) public static func authenticate(withUserId userId: Swift.String, accessToken: Swift.String? = nil, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc public static func isDeskChannel(_ channel: SendBirdSDK.SBDBaseChannel) -> Swift.Bool
@objc public static func setCustomerCustomFields(_ customFields: [Swift.String : Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc deinit
@objc override dynamic public init()
}
@objc public enum SBDSKTicketPriority : Swift.Int, Swift.Codable {
case low = 0
Expand Down Expand Up @@ -115,7 +113,7 @@ extension SBDSKTicket {
@objc dynamic public func setCustomFields(_ customFields: [Swift.String : Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func setPriority(_ priority: SendBirdDesk.SBDSKTicketPriority, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func setRelatedChannels(_ relatedChannels: [Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func cancel(transferGroupKey: Swift.String?, completionHandler: SendBirdDesk.SBDSKTicketHandler?)
@objc(cancelWithGroupKeyForTransfer:completionHandler:) dynamic public func cancel(groupKeyForTransfer: Swift.String?, completionHandler: SendBirdDesk.SBDSKTicketHandler?)
@objc dynamic public func selectQuestion(faqFileId: Swift.Int64, question: Swift.String, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
}
@_inheritsConvenienceInitializers @objc public class SBDSKAgent : ObjectiveC.NSObject, Swift.Codable {
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
// swift-module-flags: -target armv7-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SendBirdDesk
import Foundation
@_exported import SendBirdDesk
Expand Down Expand Up @@ -35,17 +35,15 @@ import UIKit
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class SBDSKMain : ObjectiveC.NSObject {
@objc deinit
@objc override dynamic public init()
}
extension SBDSKMain {
@discardableResult
@objc public static func initializeDesk() -> Swift.Bool
@objc public static func getSdkVersion() -> Swift.String
@objc public static func setCompletionHandlerDelegateQueue(_ queue: Dispatch.DispatchQueue)
@objc(authenticateWithUserId:accessToken:completionHandler:) public static func authenticate(withUserId userId: Swift.String, accessToken: Swift.String? = nil, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc public static func isDeskChannel(_ channel: SendBirdSDK.SBDBaseChannel) -> Swift.Bool
@objc public static func setCustomerCustomFields(_ customFields: [Swift.String : Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc deinit
@objc override dynamic public init()
}
@objc public enum SBDSKTicketPriority : Swift.Int, Swift.Codable {
case low = 0
Expand Down Expand Up @@ -115,7 +113,7 @@ extension SBDSKTicket {
@objc dynamic public func setCustomFields(_ customFields: [Swift.String : Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func setPriority(_ priority: SendBirdDesk.SBDSKTicketPriority, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func setRelatedChannels(_ relatedChannels: [Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func cancel(transferGroupKey: Swift.String?, completionHandler: SendBirdDesk.SBDSKTicketHandler?)
@objc(cancelWithGroupKeyForTransfer:completionHandler:) dynamic public func cancel(groupKeyForTransfer: Swift.String?, completionHandler: SendBirdDesk.SBDSKTicketHandler?)
@objc dynamic public func selectQuestion(faqFileId: Swift.Int64, question: Swift.String, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
}
@_inheritsConvenienceInitializers @objc public class SBDSKAgent : ObjectiveC.NSObject, Swift.Codable {
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
// swift-module-flags: -target armv7-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SendBirdDesk
import Foundation
@_exported import SendBirdDesk
Expand Down Expand Up @@ -35,17 +35,15 @@ import UIKit
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class SBDSKMain : ObjectiveC.NSObject {
@objc deinit
@objc override dynamic public init()
}
extension SBDSKMain {
@discardableResult
@objc public static func initializeDesk() -> Swift.Bool
@objc public static func getSdkVersion() -> Swift.String
@objc public static func setCompletionHandlerDelegateQueue(_ queue: Dispatch.DispatchQueue)
@objc(authenticateWithUserId:accessToken:completionHandler:) public static func authenticate(withUserId userId: Swift.String, accessToken: Swift.String? = nil, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc public static func isDeskChannel(_ channel: SendBirdSDK.SBDBaseChannel) -> Swift.Bool
@objc public static func setCustomerCustomFields(_ customFields: [Swift.String : Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc deinit
@objc override dynamic public init()
}
@objc public enum SBDSKTicketPriority : Swift.Int, Swift.Codable {
case low = 0
Expand Down Expand Up @@ -115,7 +113,7 @@ extension SBDSKTicket {
@objc dynamic public func setCustomFields(_ customFields: [Swift.String : Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func setPriority(_ priority: SendBirdDesk.SBDSKTicketPriority, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func setRelatedChannels(_ relatedChannels: [Swift.String], completionHandler: SendBirdDesk.SBDSKErrorHandler?)
@objc dynamic public func cancel(transferGroupKey: Swift.String?, completionHandler: SendBirdDesk.SBDSKTicketHandler?)
@objc(cancelWithGroupKeyForTransfer:completionHandler:) dynamic public func cancel(groupKeyForTransfer: Swift.String?, completionHandler: SendBirdDesk.SBDSKTicketHandler?)
@objc dynamic public func selectQuestion(faqFileId: Swift.Int64, question: Swift.String, completionHandler: SendBirdDesk.SBDSKErrorHandler?)
}
@_inheritsConvenienceInitializers @objc public class SBDSKAgent : ObjectiveC.NSObject, Swift.Codable {
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0.15</string>
<string>1.0.16</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
Binary file not shown.
Loading

0 comments on commit f7373cb

Please sign in to comment.