WuKongIM Docs

JavaScript / Web Advanced

Add custom content and offline recovery, and migrate from the old UniApp SDK after basic messaging works.

Complete the Quickstart, then add only the advanced capabilities your product needs.

Before production

  • Use wss:// and verify certificates, reverse-proxy WebSocket Upgrade, and CSP.
  • Some console output in 1.3.5 is not controlled by config.debug and can contain decoded message data. Apply an approved removal or redaction approach and inspect the final bundle.
  • Keep tokens in memory or controlled session storage; exclude them from URLs, analytics, error reporting, and browser logs.
  • Test network loss, sleeping tabs, expired tokens, kicks, offline deduplication, account switching, and rollback.

On this page