Awesome news for iOS team today – QuickBlox releases iOS SDK 2.3 with a lot of Chat API updates, that mainly simplify integration and speed up apps development!
Also new iOS samples with latest Apple technologies are developed
- Removed API 1.x
- Models QBAbstractMessage, QBChatMessage, QBChatHistoryMessage are merged into one model QBChatMessage
- Now you must use QBChatDialog for all chat related operations. Previous methods are deprecated.
- Added API to send and receive system messages: A method [[QBChat instance] sendSystemMessage:] and delegatechatDidReceiveSystemMessage:
- Updated XMPPFramework
- Ability to mark all chat messages as read: [QBRequest markMessagesAsRead:null dialogID:dialogID successBlock:errorBlock:]
- Added readIds and dialogId properties to QBChatMessage model
- TLS connection set by default now
- Added methods to QBChatDelegate to track chat reconnection states
- Added method to get a number on chat dialogs and messages: [QBRequest countOfDialogsWithExtendedRequest:successBlock:errorBlock:], [QBRequest countOfMessagesForDialogID:extendedRequest:successBlock:errorBlock:]
- Added 2 delegate methods for Contact List API: chatDidReceiveAcceptContactRequestFromUser:,chatDidReceiveRejectContactRequestFromUser:
- Simplified API to download files from Content module. Now QBCBlob model has next methods to get an url to file: publicUrl, publicUrlForID:,privateUrl, privateUrlForID:
- Custom Objects:
- Added aggregation API
- New API to update user
- Now SDK hosts current logged in user: [QBSession currentSession].currentUser
- New methods to register and unregister push notifications that take an additional argument to set device udid.
- Now you can subscribe to push notifications just with single request: [QBRequest createSubscription:successBlock:errorBlock:]
For any support queries, please create a ticket in our helpdesk.
Good luck with your apps development!