The Sendbird Chat SDK v3 for JavaScript (current stable v3.1.33) facilitates the integration of real-time chat functionalities into client applications, abstracting the complexities of backend infrastructure. It enables core chat features such as user authentication, channel management (open and group channels), message sending and receiving, and event handling. This version is officially deprecated, with v3.1.33 being its final release in August 2023. Sendbird is actively transitioning users to its v4 SDK, which was first released in April 2022 and offers an extended feature set including enhanced WebSocket handling, improved local caching, polls, scheduled messages, and pinned messages. Developers are strongly encouraged to migrate to v4 due to the end of support and future bug fixes for v3.
npm install sendbirdVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates initializing the Sendbird SDK, connecting a user, entering an open channel, and sending a basic user message, including handling environment variables for credentials.
Plan and execute migration to Sendbird Chat SDK v4. Refer to the official Sendbird documentation for migration guides and breaking changes.
Consult the Sendbird Chat SDK v4 documentation and migration guides carefully. Prioritize testing and refactor code incrementally to adapt to the new API paradigms.
Update the `sendbird` package to v3.1.32 or higher. If sticking with an older version, ensure a `localStorage` polyfill is provided for the React Native environment, though upgrading is strongly recommended due to deprecation.
Update the `sendbird` package to v3.1.31 or higher. Review your `MessageCollection` event handlers to ensure they gracefully handle potential duplicate or out-of-order message updates if using older versions.
Update the `sendbird` package to v3.1.24 or higher, which includes a Promise.finally() polyfill. Alternatively, ensure your build toolchain or application code provides a polyfill for `Promise.finally()` if targeting legacy environments.
Upgrade the `sendbird` package to v3.1.32 or later to resolve the `localStorage` access issue in React Native.
Update the `sendbird` package to v3.1.24 or higher, which bundles a `Promise.finally()` polyfill, or include a separate `Promise.finally()` polyfill in your application.
While v3.1.30 had stability improvements related to this, managing `localStorage` size is key. Consider reducing the number of messages cached, clearing old data, or migrating to SDK v4 which has more robust local caching strategies.
Upgrade the `sendbird` package to v3.1.28 or later. If unable to upgrade, consider performing file message sending operations outside of Web Workers.
No dependency data recorded yet.