Assets 2

New

  • Added NSSecureCoding and NSCopying protocols into ContactList

Fixed

  • Message not being sent into the public dialog type
1.6

@iOSDevCube iOSDevCube released this Dec 3, 2018 · 1 commit to master since this release

Assets 2

Fixed

  • Session errors parsing

  • + [CYBRequest addAdminsToDialogWithID:adminsUserIDs:successBlock:errorBlock:] - method for adding admins into group/public dialog.

  • + [CYBRequest removeAdminsFromDialogWithID:adminsUserIDs:successBlock:errorBlock:] - method for removing admins from group/public dialog.

New

  • Added CYBChatDialog in successBlock into + [CYBRequest addAdminsToDialogWithID:adminsUserIDs:successBlock:errorBlock:] method - without deprecating

  • Added CYBChatDialog in successBlock into + [CYBRequest removeAdminsFromDialogWithID:adminsUserIDs:successBlock:errorBlock:] method - without deprecating

1.5

@iOSDevCube iOSDevCube released this Nov 16, 2018 · 2 commits to master since this release

Assets 2

New

  • Added new property occupantsCount into CYBChatDialogclass - public dialog only
  • Added new property viewsCount into CYBChatDialogclass - public dialog only
  • Added new property ‘avatar’ into CYBUser and CYBUpdateUserParameters classes
  • Added new class CYBUserSessionDetails
  • Added new class property useMutualSubscriptionForContactList into CYBSettings - for using mutual subscription for ContactList
  • Added + [CYBRequest userSessionsWithSuccessBlock:errorBlock:] method for retrieving user sessions
  • Added + [CYBRequest deleteUserSessionWithID:successBlock:errorBlock:] method for deleting session of user with session ID
  • Added + [CYBRequest occupantsForPublicDialogID:paginator:successBlock:errorBlock:] method for retrieving occupants of public chat dialog with dialog ID
  • Added + [CYBRequest deleteAllUserSessionsExceptCurrentWithSuccessBlock:errorBlock:] method for deleting all sessions of user

Removed:

  • tags property from CYBBlob class
1.4

@iOSDevCube iOSDevCube released this Oct 23, 2018 · 4 commits to master since this release

Assets 2

New

  • Added - [CYBChat addUserToContactListRequest:name:completion:]; method for adding user to contact list with id and name
  • Added - [CYBChat updateUserNameInContactList:name:completion:]; method for updating user name in contact list with id
  • Renamed CYBChatDialogTypePublicGroup with CYBChatDialogTypeBroadcast
  • Added new property name into ContactListItem class.
  • Added +[CYBRequest upgradeWebSessionTokenToCurrentUser: successBlock:errorBlock:] method for upgrading Web session token

@iOSDevCube iOSDevCube released this Sep 14, 2018 · 5 commits to master since this release

Assets 2

New

  • CYBErrorCode Enum with possible error codes :

    typedef NS_ENUM(NSInteger, CYBErrorCode) {
        CYBErrorCodeCancelled = NSURLErrorCancelled,
        CYBErrorCodeUnknown = -1,
        CYBErrorCodeAccepted = 202,
        CYBErrorCodeCreated = 201,
        CYBErrorCodeForbidden = 403,
        CYBErrorCodeNotFound = 404,
        CYBErrorCodeOK = 200,
        CYBErrorCodeBadRequest = 400,
        CYBErrorCodeServerError = 500,
        CYBErrorCodeUnAuthorized = 401,
        CYBErrorCodeValidationFailed = 422
    } NS_SWIFT_NAME(ErrorCode);

Fixed

  • dialog.adminsIDs serialization issue in "Create dialog" request
1.3

@iOSDevCube iOSDevCube released this Aug 28, 2018 · 7 commits to master since this release

Assets 2

New

  • Added dialogDescription property in the CYBChatDialog class to add description to chat dialog.

  • Added pinnedMessagesIDs property in the CYBChatDialog class to implement pin messages functionality in chat dialog.

  • Added adminsIDs property in the CYBChatDialog class to implement chat admins functionality.

  • Added + [CYBRequest subscribeToPublicDialogWithID:successBlock:errorBlock:] method for subscribing to public dialog

  • Added + [CYBRequest unsubscribeFromPublicDialogWithID:successBlock:errorBlock:] method for unsubscribing from public dialog.

  • Added + [CYBRequest addAdminsToDialogWithID:adminsUserIDs:successBlock:errorBlock:] method for adding admins into group/public dialog.

  • Added + [CYBRequest removeAdminsFromDialogWithID:adminsUserIDs:successBlock:errorBlock:] method for removing admins from group/public dialog.

  • Added + [CYBRequest updateDialogWithID:updateParameters:successBlock:errorBlock: method for updating dialog fields. See CYBUpdateChatDialogParameters

  • Added class CYBUpdateChatDialogParameters to encapsulate chat dialog fields that should be updated in update dialog method.

Deprecated

  • + [CYBRequest updateDialog:successBlock:errorBlock:] - Use + [CYBRequest updateDialogWithID:updateParameters:successBlock:errorBlock:
  • CYBChatDialogTypePublicGroup
  • pushOccupantsIDs - Use occupantsIDsToAdd property from CYBUpdateChatDialogParameters class.
  • pullOccupantsIDs - Use occupantsIDsToRemove property form CYBUpdateChatDialogParameters class.

Fixed

  • Inline documentation

@iOSDevCube iOSDevCube released this Aug 23, 2018 · 8 commits to master since this release

Assets 2

New

  • CYBSettings.autoReconnectEnabled, CYBSettings.carbonsEnabled are YES by default now.

Fixed

  • Edit/Remove messages functionality not worked properly (server returned an error)
1.2

@iOSDevCube iOSDevCube released this Aug 9, 2018 · 14 commits to master since this release

Assets 2

Added:

  • - [CYBChatDialog editMessageWithID:text:last:completion:] - Method for editing message text with a message ID (via Chat).
  • - [CYBChatDialog removeMessageWithID:completion:] - Method for removing message with ID (via Chat).
  • Property destroyAfterInterval in CYBChatMessage - An interval in seconds after which the message must be destroyed on both sender and receiver's sides. Used for self-destructing chat messages feature.
  • Property edited in CYBChatMessage - A flag which tells that the message was edited. Chat server also updates the message's body in history storage if YES.
  • Property removed in CYBChatMessage - A flag which tells that the message was removed. Chat server also deletes the message from history storage if YES.

@iOSDevCube iOSDevCube released this Jul 20, 2018 · 11 commits to master since this release

Assets 2

Fixed:

  • Crash with carbon messages forwarding

@iOSDevCube iOSDevCube released this Jul 13, 2018 · 12 commits to master since this release

Assets 2

New:

  • Added localParamterers property for CYBChatMessage - A dictionary of chat message local parameters for internal purpose, e.g. to store additional data for chat message in a local database.