SyncManager for Android is a Sendbird Chat SDK add-on for chat data synchronization that allows you to reliably cache group channels and messages in your Android client app with minimal effort. When SyncManager is added to your client app, it listens to the events that happen in channels and messages in real-time and executes the background tasks to update the local cache with data queried from Sendbird server.
Note: Currently, SyncManager for Android 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 Android.
Better user experience
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 Android are:
Android 4.1 (API level 16) or higher
Java 8 or higher
Sendbird Chat SDK for Android 3.0.170 or higher
Note: 3.0.170 is embedded in SyncManager 1.1.31. If you want to use a higher version, you can directly declare a dependency on the higher version.
Try the sample app
Our sample app has the core features of SyncManager for Android. Download the app from our repository on GitHub to get an idea of how to integrate the SyncManager to the Chat SDK and your project.
Note: The fastest way to see our SyncManager in action is to build your chat app on top of our sample app. Make sure to change the application ID of the sample app to your own. Go to the Create a Sendbird application from your dashboard section to learn more.