sendbird/SendBird-Android
Acerca de
A guide of the installation and functions of Sendbird Chat, and SyncManager for Android samples.
Herramientas de desarrolloCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalSendbird Chat SDK samples for Android
Sendbird provides the chat API and SDK for your app, enabling real-time communication among users. This repository holds two chat apps built with Sendbird Chat SDK for Android v4. Each sample contains the same app built two ways: compose with Jetpack Compose and views with Android Views. Start with compose.
| Sample | What it shows |
|---|---|
| Chat | Open channels and group channels. Screens load their data with queries and stay current with channel event handlers. |
| Chat (Local Caching) | Group channels with local caching. The SDK keeps channels and messages on the device with GroupChannelCollection and MessageCollection, so the app opens with cached data and keeps working offline. |
Each sample's README explains how to run it, how to use your own Sendbird application, and the main SDK calls with code snippets.
Requirements
- Android Studio with Android Gradle Plugin 9.5 support
- JDK 17 or higher (the JDK bundled with Android Studio works)
- Android 7.0 (API level 24) or higher
Build with Claude Code or Codex
The Sendbird Client Plugin is Sendbird's official plugin for Claude Code and Codex. It adds Sendbird Chat, UIKit, and Calls (1-to-1 voice and video calls) to iOS, Android, React, and React Native apps, writing code from Sendbird documentation and the Sendbird SDK installed in your project. Its source is at sendbird/sendbird-client-plugin.
The Sendbird CLI plugin signs you in to Sendbird and manages your apps, users, and channels, and the Client Plugin can take the App ID from the app you choose there. The CLI plugin needs Node.js, and its setup installs the Sendbird CLI with npm if it is missing. See the CLI plugin guide for the supported Node.js versions.
In Claude Code:
claude plugin marketplace add sendbird/sendbird-plugins
claude plugin install sendbird-client@sendbird
claude plugin install sendbird-cli@sendbird
Start a new session, run /sendbird-cli:sendbird-setup to sign in and choose your app, and then run /sendbird-client:setup --product chat in your project.
In Codex:
codex plugin marketplace add sendbird/sendbird-plugins
codex plugin add sendbird-client@sendbird
codex plugin add sendbird-cli@sendbird
Start a new session. When Codex shows Hooks need review, choose Review hooks, check what each hook runs, and press t to trust them. Then call $sendbird-cli:sendbird-setup to sign in and choose your app, and then call $sendbird-client:setup --product chat in your project.
The Client Plugin runs local shell scripts as hooks. Review What runs on your machine before installing.
Run a sample
// Clone this repository
git clone [email protected]:sendbird/SendBird-Android.git
// Move to a sample
cd SendBird-Android/basic // Chat sample
cd SendBird-Android/local-caching // Chat (Local Caching) sample
Open the sample's folder in Android Studio, pick the compose or views run configuration, and run it on a device or an emulator.
🔒 Security tip
When you create a Sendbird application in the dashboard, the default security settings are permissive so that you can run samples and write your first code quickly.
Before launching, review Settings > Application > Security in the dashboard:
- Set Access token permission so that users without an access or session token can't sign in. With the default setting, anyone can sign in as any user ID. After the change, your server issues the tokens that users sign in with.
- In Access control list, review Allow creating open channels, Allow creating group channels and Allow retrieving user list. Most apps should turn them off.
Learn more
Explorar proyectos relacionados
Cargando…