Skip to content

Commit

Permalink
Glia Core SDK Release 0.34.3
Browse files Browse the repository at this point in the history
  • Loading branch information
BitriseBot authored and dukhovnyi committed Aug 8, 2022
1 parent 5b4e1a1 commit 6c25171
Show file tree
Hide file tree
Showing 15 changed files with 148 additions and 100 deletions.
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ let package = Package(
),
.binaryTarget(
name: "SalemoveSDK",
url: "https://github.com/salemove/ios-bundle/releases/download/0.34.2/SalemoveSDK.xcframework.zip",
checksum: "deeef9e7880513270389f475d2889bdd27b710652f9f41e4c48760913790a0d7"
url: "https://github.com/salemove/ios-bundle/releases/download/0.34.3/SalemoveSDK.xcframework.zip",
checksum: "359c218ea2200953cfd8cf98f10b28deccf4100ec1f3b9cdfa8827dd49cffc76"
),
.target(
name: "GliaSDK",
Expand All @@ -49,4 +49,4 @@ let package = Package(
]
)
]
)
)
2 changes: 1 addition & 1 deletion SalemoveSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SalemoveSDK'
s.version = '0.34.2'
s.version = '0.34.3'
s.summary = 'The Salemove iOS library'
s.description = 'The Salemove iOS library brings the in-person customer experience to iOS devices.'
s.homepage = 'https://github.com/salemove/ios-sdk'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -695,10 +695,19 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _





@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Request media upgrade with specific offer
/// Request a VisitorCode for current Visitor
/// A Visitor code can be displayed to the Visitor. The Visitor can then inform OmniBrowse Operators of their code.
/// OmniBrowse Operators use the Visitor’s code to start an OmniBrowse Engagement with the Visitor.
/// Each Visitor code is generated on demand and is unique for every Visitor on a particular site. Upon the first time
/// this function is called for a Visitor the code is generated and returned. For each successive call thereafter the
/// same code will be returned as long as the code has not expired. The expiration time for Visitor codes is 3 hours.
/// During that time the code can be used to initiate an engagement. Once Operator uses the Visitor code to initiate
/// an engagement, the code will expire immediately. When the Visitor Code expires this function will return a new
/// Visitor code.
/// The expiration time is important to take note of if you plan on retrieving the code only once during the Visitor’s
/// session. A new code should be requested once the initial one has expired. When Visitor provides an expired code
/// to Operator the Operator will not be able to connect with the Visitor.
/// If the request is unsuccessful for any reason then the completion will have an Error.
/// The Error may have one of the following causes:
/// <ul>
Expand All @@ -720,31 +729,17 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// <li>
/// <code>MediaUpgradeError.requestError</code>
/// </li>
/// </ul>
/// \param offer The `MediaUpgradeOffer’ that is used for the request
///
/// \param completion A callback that returns the upgrade result or <code>SalemoveError</code>
/// \param completion A callback that will return the visitor code or <code>SalemoveError</code>
///
- (void)requestMediaUpgradeWithOffer:(MediaUpgradeOffer * _Nonnull)offer completion:(void (^ _Nonnull)(BOOL, SalemoveError * _Nullable))completion;
- (void)requestVisitorCodeWithCompletion:(void (^ _Nonnull)(NSString * _Nullable, SalemoveError * _Nullable))completion;
@end




@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Request a VisitorCode for current Visitor
/// A Visitor code can be displayed to the Visitor. The Visitor can then inform OmniBrowse Operators of their code.
/// OmniBrowse Operators use the Visitor’s code to start an OmniBrowse Engagement with the Visitor.
/// Each Visitor code is generated on demand and is unique for every Visitor on a particular site. Upon the first time
/// this function is called for a Visitor the code is generated and returned. For each successive call thereafter the
/// same code will be returned as long as the code has not expired. The expiration time for Visitor codes is 3 hours.
/// During that time the code can be used to initiate an engagement. Once Operator uses the Visitor code to initiate
/// an engagement, the code will expire immediately. When the Visitor Code expires this function will return a new
/// Visitor code.
/// The expiration time is important to take note of if you plan on retrieving the code only once during the Visitor’s
/// session. A new code should be requested once the initial one has expired. When Visitor provides an expired code
/// to Operator the Operator will not be able to connect with the Visitor.
/// Request media upgrade with specific offer
/// If the request is unsuccessful for any reason then the completion will have an Error.
/// The Error may have one of the following causes:
/// <ul>
Expand All @@ -766,10 +761,15 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// <li>
/// <code>MediaUpgradeError.requestError</code>
/// </li>
/// </ul>
/// \param completion A callback that will return the visitor code or <code>SalemoveError</code>
/// \param offer The `MediaUpgradeOffer’ that is used for the request
///
- (void)requestVisitorCodeWithCompletion:(void (^ _Nonnull)(NSString * _Nullable, SalemoveError * _Nullable))completion;
/// \param completion A callback that returns the upgrade result or <code>SalemoveError</code>
///
- (void)requestMediaUpgradeWithOffer:(MediaUpgradeOffer * _Nonnull)offer completion:(void (^ _Nonnull)(BOOL, SalemoveError * _Nullable))completion;
@end


Expand Down Expand Up @@ -874,7 +874,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _




@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Send a chat message.
/// If the request is unsuccessful for any reason then the completion will have an Error.
Expand Down Expand Up @@ -972,6 +971,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _




@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Waits until there is an active engagement handled by the SDK.
/// If the SDK already has an active engagement present, then it returns information about it through
Expand Down Expand Up @@ -1244,7 +1244,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
- (void)unsubscribeFromUpdatesWithQueueCallbackId:(NSString * _Nonnull)queueCallbackId onError:(void (^ _Nonnull)(SalemoveError * _Nonnull))onError;
@end


@class VisitorContext;

@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
Expand Down Expand Up @@ -1277,6 +1276,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
@end



/// The basic gateway class that interacts with the client library through the app delegate
SWIFT_CLASS("_TtC11SalemoveSDK19SalemoveAppDelegate")
@interface SalemoveAppDelegate : NSObject <UIApplicationDelegate>
Expand Down Expand Up @@ -1363,6 +1363,7 @@ SWIFT_CLASS("_TtC11SalemoveSDK10StreamView")




/// Video scaling options, can be used to specify desired resize options
typedef SWIFT_ENUM(NSInteger, VideoScalingOptions, open) {
/// Scales the video to the screen bounds by changing the aspect ratio if needed.
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,19 @@ extension SalemoveSDK.Salemove {
case custom(Foundation.URL)
}
public struct Configuration {
public init(siteId: Swift.String, region: SalemoveSDK.Salemove.Region, authorizingMethod: SalemoveSDK.Salemove.AuthorizationMethod) throws
public init(siteId: Swift.String, region: SalemoveSDK.Salemove.Region, authorizingMethod: SalemoveSDK.Salemove.AuthorizationMethod, pushNotifications: SalemoveSDK.Salemove.Configuration.PushNotifications = .disabled) throws
}
}
extension SalemoveSDK.Salemove.Configuration {
public enum PushNotifications {
case disabled
case sandbox
case production
public static func == (a: SalemoveSDK.Salemove.Configuration.PushNotifications, b: SalemoveSDK.Salemove.Configuration.PushNotifications) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
}
@objc public class Message : ObjectiveC.NSObject, Swift.Decodable {
Expand Down Expand Up @@ -253,6 +265,7 @@ extension SalemoveSDK.PushNotifications : SalemoveSDK.PushNotificationsHandling,
@objc dynamic public func userNotificationCenter(_ center: UserNotifications.UNUserNotificationCenter, didReceive response: UserNotifications.UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Swift.Void)
}
extension SalemoveSDK.PushNotifications : SalemoveSDK.PushNotificationsConfigurable {
@available(*, deprecated, message: "Use `Salemove.Configuration` to make push notifications feature enabled.")
public func enable(_ shouldEnablePushNotifications: Swift.Bool)
public func subscribeTo(_ notifications: [SalemoveSDK.PushNotificationsType])
}
Expand Down Expand Up @@ -1002,6 +1015,8 @@ extension SalemoveSDK.AttachmentType : Swift.RawRepresentable {}
extension SalemoveSDK.PushNotificationsType : Swift.Equatable {}
extension SalemoveSDK.PushNotificationsType : Swift.Hashable {}
extension SalemoveSDK.PushNotificationsType : Swift.RawRepresentable {}
extension SalemoveSDK.Salemove.Configuration.PushNotifications : Swift.Equatable {}
extension SalemoveSDK.Salemove.Configuration.PushNotifications : Swift.Hashable {}
extension SalemoveSDK.MessageSender : Swift.Equatable {}
extension SalemoveSDK.MessageSender : Swift.Hashable {}
extension SalemoveSDK.MessageSender : Swift.RawRepresentable {}
Expand Down
Binary file not shown.
Loading

0 comments on commit 6c25171

Please sign in to comment.