Swiftpack.co - Package - sendbird/sendbird-ios-framework

Sendbird - Messaging and Chat API for Mobile Apps and Websites

Sendbird provides the chat API and SDK for your app enabling real-time communication among your users.

Platform Languages CocoaPods Carthage compatible Commercial License

Documentation

https://docs.sendbird.com/

Install Sendbird Framework from CocoaPods

Add below into your Podfile on Xcode.

platform :ios, '8.0'
use_frameworks!

target YOUR_PROJECT_TARGET do
  pod 'SendBirdSDK'
end

Install Sendbird Framework through CocoaPods.

pod install

Now you can see installed Sendbird framework by inspecting YOUR_PROJECT.xcworkspace.

Install Sendbird Framework from Carthage

  1. Add github "sendbird/sendbird-ios-framework" to your Cartfile.
  2. Run carthage update.
  3. Go to your Xcode project's "General" settings. Open <YOUR_XCODE_PROJECT_DIRECTORY>/Carthage/Build/iOS in Finder and drag SendBirdSDK.framework to the "Embedded Binaries" section in Xcode. Make sure Copy items if needed is selected and click Finish.
  4. On your application targets’ Build Phases settings tab, click the + icon and choose New Run Script Phase. Create a Run Script in which you specify your shell (ex: /bin/sh), add the following contents to the script area below the shell:
/usr/local/bin/carthage copy-frameworks
  • Add the paths to the frameworks you want to use under “Input Files". For example:
$(SRCROOT)/Carthage/Build/iOS/SendBirdSDK.framework
  • Add the paths to the copied frameworks to the “Output Files”. For example:
$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/SendBirdSDK.framework

For an in depth guide, read on from Adding frameworks to an application

SyncManager

SyncManager SDK is a support add-on for Sendbird SDK. Major benefits of SyncManager are,

  • Local cache integrated: store channel/message data in local storage for fast view loading.
  • Event-driven data handling: subscribe channel/message event like insert, update, remove at a single spot in order to apply data event to view.

Check out iOS Sample with SyncManager which is same as iOS Sample with SyncManager integrated.
For more information about SyncManager integrated, please refer to SyncManager README.

Github

link
Stars: 41

Dependencies

Used By

Total: 0

Releases

- 2020-10-21 06:53:17

  • Improved stability.
  • Added SubChannel related properties
    • showSubChannelMessageOnly property in SBDMessageListParams class
    • showSubChannelMessageOnly property in SBDPreviousMessageListQuery class

- 2020-10-08 18:10:27

  • Improved stability.
  • Added buildFromSerializedData:desiredState: in SBDBaseMessage.

- 2020-09-15 17:23:32

  • Fixed a bug that the isMuted of a group channel member wasn't updated.
  • Added getTypingUsers method in SBDGroupChannel class.
  • Deprecated getTypingMembers method in SBDGroupChannel class.

- 2020-09-04 01:39:44

  • Fixed unread count bug.
  • Improved stability.

- 2020-08-25 08:11:48

  • Fixed copying message bug
  • Fixed myMutedState is always muted issue
  • Improved stability

- 2020-08-21 17:51:39

  • Added creator property in SBDBaseChannel
  • Added setWebSocketResponseTimeout: to SBDOptions class to set the response timeout value.

- 2020-08-14 02:26:19

  • Added - SBDMemberListOrder for the member list query.
  • Added - isMuted property in SBDMember class
  • Added - applicationAttributes property in SBDAppInfo class
  • Activated - operationFilter in SBDGroupChannelMemberListQuery
  • Improved stability

v3.0.197 - 2020-08-10 22:46:03

Improved stability

v3.0.196 - 2020-08-07 04:43:28

  • Fixed a memory allocation bug

- 2020-07-30 03:33:07

  • Improved stability

- 2020-07-29 11:27:39

  • Improved stability

v3.0.193 - 2020-07-22 05:43:48

  • Added open graph feature along with SBDOGMetaData and SBDOGImage class
  • Added ogMetaData property in SBDBaseMessage
  • Fixed bug in markAsDeliveredWithRemoteNotificationPayload:completion

v3.0.192 - 2020-07-17 23:25:21

Improved stability

v3.0.191 - 2020-07-17 23:09:12

Improved stability

v3.0.190 - 2020-07-15 01:07:05

  • Fixed delegate validation mismatched

v3.0.189 - 2020-07-09 03:44:55

  • Added addOperatorsWithUserIds:completionHandler: to add operators to channel.
  • Added removeOperatorsWithUserIds:completionHandler: and removeAllOperatorsWithCompletionHandler: to remove operators from channel.
  • Improved stability
  • Fixed minor bug

v3.0.187 - 2020-06-29 22:08:07

Fixed markAsRead unreadMessageCount bug

v3.0.186 - 2020-06-24 21:18:22

  • Refactored SBDBaseMessage properties that need common access
  • Supported NSCopying protocol for common objects
  • Improved stability

- 2020-06-18 04:53:55

  • Added functions that creates a SBDMessageChangeLogsParams object with SBDPreviousMessageListQuery and SBDMessageListParams information.
  • Added a function that creates a SBDGroupChannelChangeLogsParams object with SBDGroupChannelListQuery information.
  • Added getUnreadMemberCount: and getUndeliveredMemberCount:.
  • Improved stability.
  • Fixed reconnection issue.

v3.0.184 - 2020-06-12 00:26:46

  • Updated base message property

- 2020-06-04 03:54:38

  • Improved delivery receipt

v3.0.182 - 2020-05-29 03:45:24

  • Added SBDGroupChannelChangeLogsParams
  • Added getMyGroupChannelChangeLogsByToken:params:completionHandler:
  • Deprecated getMyGroupChannelChangeLogsByToken:customType:completionHandler: and getMyGroupChannelChangeLogsByToken:customType:includeEmptyChannel:completionHandler
  • Added includeFronzeChannel in SBDOpenChannelListQuery
  • Fixed meta data completion type

- 2020-05-20 09:56:30

  • Fixed reaction bug.

v3.0.180 - 2020-05-19 02:15:46

  • Added deleteChannel method in open channel
  • Added AppInfo class
  • Added emoji feature with Emoji, EmojiCategory, EmojiContainer class
  • Fixed type comparison in init methods
  • Fixed to add errorCode in message's init methods

v3.0.179 - 2020-04-28 19:43:08

  • Added deleteMessageWithMessageId:completionHandler: in SBDBaseChannel
  • Fixed push register/unregister when no connection
  • Deprecated metaArrayKeys in SBDBaseMessageParams
  • Added metaArrays in SBDBaseMessageParams

- 2020-04-21 12:45:02

  • Added addExtension for UIKit

- 2020-04-13 09:21:14

  • Added show_delivery_receipt parameters.
  • resendUserMessage(), resendFileMessage() returns the corresponding messages with PENDING state.
  • Fixed minor bug.
  • Improved stability.

- 2020-04-01 02:16:29

  • Renamed an enum value.
    • SBDErrorFileUploadCancelled -> SBDErrorFileUploadCanceled
  • Improved stability.

- 2020-03-23 23:50:36

  • Defined a few errors for the failed message as resendable errors.
    • SBDErrorInternalServerError(500901)
    • SBDErrorRateLimitExceeded(500910)
    • SBDErrorMessagesRateLimitExceeded(900200)
  • Improved stability.
  • Added new methods to get messages with message ID and inclusiveTimestamp option.

- 2020-03-17 15:18:56

  • Added channelDidUpdateOperators: in SBDChannelDelegate
  • Added role in SBDMember
  • Improved stability.