Skip to content

Sendbird Chat SDK for JavaScript for enablement of a rich, engaging, scalable, and real-time chat service.

License

Notifications You must be signed in to change notification settings

sendbird/SendBird-SDK-JavaScript

Repository files navigation

npm

SendBird JavaScript SDK

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

Getting Started

Bower package for SendBird.com JavaScript SDK

  bower install sendbird  

npm module for SendBird.com JavaScript SDK

  npm install sendbird --save  

download for SendBird.com JavaScript SDK

TypeScript

Install via NPM and import like below in your TypeScript file:

import * as SendBird from 'SendBird';
var sb = new SendBird({'appId': 'APP_ID'});
// do something...

If you have trouble importing SendBird, please check your tsconfig.json file and change the value of "allowSyntheticDefaultImports" to true in compilerOptions.

SyncManager

SyncManager 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 Basic Sample with SyncManager which is same as Basic Sample with SyncManager integrated.
For more information about SyncManager, please refer to SyncManager README.

v3.0.83(OCT 18, 2018)

If you want to check the record of other version, go to Change Log.

  • Added getLastConnectedAt() in SendBird to get currentUser's last connection timestamp.
  • Improved sendFileMessage() in BaseChannel. From now, message's order is guaranteed regardless of the file size uploaded.
  • Improved stability.
  • Minor bug fixed.

License

SendBird License

About

Sendbird Chat SDK for JavaScript for enablement of a rich, engaging, scalable, and real-time chat service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 13