Skip to content

Commit

Permalink
Glia Core SDK Release 1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
BitriseBot authored and igorkravchenko committed Oct 7, 2024
1 parent b402416 commit 9306e8c
Show file tree
Hide file tree
Showing 20 changed files with 1,521 additions and 951 deletions.
2 changes: 1 addition & 1 deletion GliaCoreSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'GliaCoreSDK'
s.version = '1.5.3'
s.version = '1.5.4'
s.summary = 'The Glia Core SDK'
s.description = 'The Glia Core SDK brings the in-person customer experience to iOS devices.'
s.homepage = 'https://www.glia.com/'
Expand Down
10 changes: 5 additions & 5 deletions GliaCoreSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@
<key>BinaryPath</key>
<string>GliaCoreSDK.framework/GliaCoreSDK</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>GliaCoreSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>GliaCoreSDK.framework/GliaCoreSDK</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>GliaCoreSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,12 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _



@class Queue;

@interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK))
/// Deprecated.
- (NSString * _Nullable)subscribeForUpdatesForQueue:(NSArray<NSString *> * _Nonnull)queueIds onError:(void (^ _Nonnull)(GliaCoreError * _Nonnull))onError onUpdate:(void (^ _Nonnull)(Queue * _Nonnull))onUpdate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use the `subscribeForQueuesUpdates` method that provides a `Result` in its completion.");
@end



Expand Down Expand Up @@ -605,6 +611,8 @@ enum LogLevel : NSInteger;





@interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK))
/// Uploads a file to an engagement. The uploaded file can be later sent as part of a chat message attachments.
/// If Glia’s servers require a security check for the uploaded file, then it will be triggered automatically. The completion
Expand Down Expand Up @@ -669,7 +677,6 @@ enum LogLevel : NSInteger;




@interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK))
/// Clear the use session of the client library
- (void)clearSession;
Expand Down Expand Up @@ -869,7 +876,6 @@ enum LogLevel : NSInteger;


@class QueueTicket;
@class Queue;

@interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK))
/// Cancels all active queue tickets that the current visitor has.
Expand Down Expand Up @@ -945,41 +951,6 @@ enum LogLevel : NSInteger;
/// \param completion A callback that will return the <code>Queue</code> list or <code>GliaCoreError</code>
///
- (void)listQueuesWithCompletion:(void (^ _Nonnull)(NSArray<Queue *> * _Nullable, GliaCoreError * _Nullable))completion;
/// <hr/>
/// Example:
/// \code
/// let queueUpdatesCallbackId = GliaCore.sharedInstance.subscribeForUpdates(
/// forQueue: [QUEUE_ID_1, QUEUE_ID_2],
/// onError: showError(gliaCoreError:),
/// onUpdate: updateQueueInfo(newQueue:)
/// )
///
/// \endcode\param for Array of strings represinting Queue IDs that you want to get updates for
///
/// \param onUpdate A callback that returns a new instance of <code>Queue</code> every time its info is changed
///
/// \param onError A callback that returns <code>GliaCoreError</code> which could have one of the reasons:
/// <ul>
/// <li>
/// <code>GeneralError.internalError</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidSite</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidEnvironment</code>
/// </li>
/// <li>
/// <code>QueueError.invalidId</code>
/// </li>
/// </ul>
///
///
/// returns:
///
/// A unique callback ID or <code>nil</code> if callback was not registered due to error.
/// This callback ID could be used to usubscribe from Queue updates.
- (NSString * _Nullable)subscribeForUpdatesForQueue:(NSArray<NSString *> * _Nonnull)queueIds onError:(void (^ _Nonnull)(GliaCoreError * _Nonnull))onError onUpdate:(void (^ _Nonnull)(Queue * _Nonnull))onUpdate SWIFT_WARN_UNUSED_RESULT;
/// Unsubscribes from Queue updates.
/// \param queueCallbackId ID of callback for which you would like to stop receiving updates.
///
Expand Down
Loading

0 comments on commit 9306e8c

Please sign in to comment.