Where WuKongIMSDK fits

Your backend owns identity and product data; the SDK owns client message state

Client Your App UI and product logic Product Backend UID · token · product data WuKongIMSDK connection · messages · chats client state Local Data messages · chats · unread WuKongIM Cluster persist · route · deliver calls connect + message sign-in result profiles + sync data stores Legend Frontend Backend Database Cloud

Your app owns

  • • Sign-in UI, contacts, membership, and product permissions
  • • Applying SDK callbacks to the product UI

The SDK owns

  • • Connections, message state, local chats, and unread counts
  • • Provider callbacks that request product data

The cluster owns

  • • Message persistence, Channel routing, and online delivery
  • • Full cluster semantics even with one node