SyncManager for JavaScript
Note: Currently, SyncManager for JavaScript is only applicable to group channels. Soon, more funtionalities such as message threading, file message caching, open channels, and Supergroup channels will be supported.
Sendbird SyncManager is designed to ensure quick and easy implementation that doesn’t require much effort. It can easily be added to your client app, so that you are able to benefit from all the advantages of our Chat SDK for JavaScript.
SyncManager implements local data caching, meaning that group channels and messages are cached in local storage for fast loading in unstable network environments as well as data retrieval in offline mode.
The minimum requirements for SyncManager for JavaScript are:
Node.js v10+
NPM v6+
Sendbird Chat SDK for JavaScript v3.0.115+
Apart from browsers that don’t provide IndexDB, SyncManager supports all browsers that Sendbird Chat SDK for JavaScript also supports. Since access to local storage is restricted during private browsing in Firefox or InPrivate in Edge, SyncManager automatically detects the browsing mode and uses memory-based cache instead.