QuickBlox iOS SDK for messaging and video calling
BSD-3-CLAUSE License
Bot releases are visible (Hide)
Published by IlliaChemolosov almost 4 years ago
Contacts list. Minor fixes and improvements.
Published by IlliaChemolosov almost 4 years ago
User contacts flow refactoring.
Published by IlliaChemolosov almost 4 years ago
New "updateMessage()" method added.
Details: https://docs.quickblox.com/docs/ios-chat-advanced#update-message
Published by IlliaChemolosov about 4 years ago
Upgrades related to the latest Apple recommendations.
Crash related to QBChatConnectionProtocol method annotation fixed.
Published by IlliaChemolosov about 5 years ago
Support iOS version 13.
Published by IlliaChemolosov about 5 years ago
Support iOS version 13.
For iOS SDKs up to version 2.17.3 Xcode 10 or lower should be used. Because if you build your App with Xcode 11, users with iOS 13 will stop receiving incoming calls.
Currently we are adding support for Xcode 11 and iOS 13 in an upcoming version of the SDK.
Published by IlliaChemolosov about 5 years ago
Support iOS version 13.
For iOS SDKs up to version 2.17.2 Xcode 10 or lower should be used. Because if you build your App with Xcode 11, users with iOS 13 will stop receiving incoming calls.
Published by sshaforenkoqb almost 6 years ago
WebRTC version updated to revision 02411.
Fixed:
Published by sshaforenkoqb almost 6 years ago
WebRTC version updated to r 24472.
Fixed:
fileURL
for QBCOFile
model. It is used for uploading the file with local file URL.lastMessageID
property for the QBChatDialog
model- [QBChat connectWithUserID:password:completion:]
and - [QBChat connectWithUserID:password:resource:completion:]
methods for connecting to the chat[QBChat connectWithUser:completion:]
and -[QBChat connectWithUser:resource:completion:]
- methods for connecting to the chat with QBUUser
+[QBRequest logInWithTwitterDigitsAuthHeaders:successBlock:errorBlock]
twitterDigitsID
of the QBUUser
model and QBUpdateUserParameters
class.-chatDidNotSetActivePrivacyListWithName:
method of the QBChatDelegate
protocol+ [QBMSubscription notificationChannelFromString:]
and + [QBMSubscription notificationChannelToString:]
isTokenValid
of the QBSession
classdata
of the QBChatAttachment
model+ [QBRequest blobsWithSuccessBlock:]
, + [QBRequest taggedBlobsWithSuccessBlock:]
and + [QBRequest taggedBlobsForPage:successBlock:errorBlock:]
+ [QBRequest updateCurrentUser:sucessBlock:errorBlock]
returns nil
for the field tags
of the updated user. Thanks to RubenBenBen.Heads up! As announced at Google I/O, Digits is being replaced with Firebase phone authentication. To continue authenticating users, you need to upgrade to Firebase by September 30, 2017. After this date, your users will be unable to authenticate their device if they try to sign in with Digits. In addition, app backends will not be able to verify existing user tokens using Digits’ /sdk/account endpoint. Please see our migration guide: https://docs.fabric.io/apple/digits/apple-migration.html
Added + [QBRequest:logInWithFirebaseProjectID:accessToken:successBlock:errorBlock:]
Deprecated + [QBRequest logInWithTwitterDigitsAuthHeaders:successBlock:errorBlock:]
Published by Raikerian over 6 years ago
+[QBSettings setApiEndpoint: chatEndpoint:forServiceZone:]
+[QBSettings setServiceZone:]
+[QBSettings currentServiceZone]
+ [QBRequest uploadWithUrl:blobWithWriteAccess:successBlock:statusBlock:errorBlock:]
- Public method for uploading file with File URLmanualInitialPresence
- After establishing a session, a client should send initial presence to the server in order to signal its availability for communications. By default NO (Automatically)+ [QBRequest cancelAllRequests:]
Cancel all running requestsAdded QBDarwinNotificationCenter
class
NOTE
A notification that enables the broadcast of information to registered observers between extensions with the same QuickBlox application id.
The Darwin notification center is a system mechanism on iOS and OS X to send signals across process boundaries. It's useful to exchange information between two or more running processes such as an iPhone app notifying a WatchKit/Share/Siri.... Extension that new data has arrived.
Is based on Darwin notification center.
How to use:
@interface YouExtensionClass ()
@property (nonatomic, strong) id logoutObserver;
@end
@implementation YourExtensionClass
- (void)registerToLogoutNotificaiton {
__weak __typeof(self)weakSelf = self;
self.logoutObserver = [[QBDarwinNotificationCenter defaultCenter]
addObserverForName:@"logout" usingBlock:^{
[weakSelf completeSharing:nil];
NSLog(@"Logout received");
}];
}
@end
...
@implementation YourApplicationClass
- (void)postLogoutNotificaion {
[[QBDarwinNotificationCenter defaultCenter] postNotificationName:@"logout"];
}
@end
Added FOUNDATION_EXPORT NSNotificationName const kQBLogoutNotification;
- Posted immediately after logout from QuickBlox and session destruction. Used only for Darwin notification center.
Added New method + [QBRequest registeredUsersFromAddressBookWithUdid:isCompact:successBlock:errorBlock:]
to retrieve registered users from address book.
Parameter | Description |
---|---|
udid | User's device identifier. If specified - all operations will be in this context. Max length 64 symbols. |
compact | if YES - server will return only id and phone fields of User. Otherwise - all User's fields will be returned. |
successBlock | The block to be executed when registered users are retrieved. |
errorBlock | The block to be executed when the request is failed. |
How to use:
[QBRequest registeredUsersFromAddressBookWithUdid:@"your udid"
isCompact:NO
successBlock:^(NSArray<QBUUser *> *users) {
NSLog(@"Registered users: %@", users);
} errorBlock:^(QBResponse *response) {
NSLog(@"Error: %@", response.error.error.localizedDescription)
}];
Added class properties in QBSettings
Added + [QBSettings settingsFromPlist]
and + [QBSettings settingsFromPlistWithName:]
This method should be used only for Continuous Integration (CI) because of security reasons
Possible keys | Type | Required |
---|---|---|
applicationID | Number | YES |
authorizationKey | String | YES |
authorizationSecret | String | YES |
accountKey | String | YES |
apiEndpoint | String | NO |
chatEndpoint | String | NO |
autoReconnectEnabled | Bool | NO |
carbonsEnabled | Bool | NO |
streamManagementSendMessageTimeout | Integer | NO |
reconnectTimerInterval | Double | NO |
keepAliveInterval | Double | NO |
chatEndpointPort | Integer | NO |
Added exception for missed credentials
Added QBSettings.chatEndpoint
class property
Added QBSettings.apiEndpoint
class property
+ [QBSettings setApiEndpoint:chatEndpoint:forServiceZone:]
+ [QBSettings setServiceZone:]
+ [QBSettings currentServiceZone]
Conference module (Enterprise-only feature):
Added new listOnlineParticipantsWithCompletionBlock
: method in QBRTCConferenceSession
class. Use it to get all current participants IDs in the dialog.
Callbacks about joining and leaving occupants will now always be called when session created (this fixing the lack of callbacks when we want to subscribe to users feed, but don't want to post ours).
Fixed conference connection states (sometimes states would return wrong one).