{"id":27657149,"url":"https://github.com/sendbird/sendbird-chat-sample-android","last_synced_at":"2025-08-17T19:36:10.296Z","repository":{"id":37085658,"uuid":"468608032","full_name":"sendbird/sendbird-chat-sample-android","owner":"sendbird","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-24T15:19:13.000Z","size":11683,"stargazers_count":17,"open_issues_count":9,"forks_count":15,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-04-24T06:54:50.242Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sendbird.com/docs/chat/sdk/v4/android/overview","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sendbird.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-03-11T04:31:13.000Z","updated_at":"2025-02-27T21:36:47.000Z","dependencies_parsed_at":"2023-02-17T05:15:56.191Z","dependency_job_id":"7abc87ea-29b1-44e4-8a74-fe8d273b7fa5","html_url":"https://github.com/sendbird/sendbird-chat-sample-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendbird%2Fsendbird-chat-sample-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendbird%2Fsendbird-chat-sample-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendbird%2Fsendbird-chat-sample-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendbird%2Fsendbird-chat-sample-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sendbird","download_url":"https://codeload.github.com/sendbird/sendbird-chat-sample-android/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250580702,"owners_count":21453531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-24T06:54:55.118Z","updated_at":"2025-04-24T06:54:55.609Z","avatar_url":"https://github.com/sendbird.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sendbird Chat sample for Android\n\n## Overview\n\nThis repository provides feature-level Chat samples with Kotlin to demonstrate how to use the [Sendbird Chat SDK](https://sendbird.com/docs/chat).\n\n## 🔒 Security tip\nWhen a new Sendbird application is created in the dashboard the default security settings are set permissive to simplify running samples and implementing your first code.\n\nBefore launching make sure to review the security tab under ⚙️ Settings -\u003e Security, and set Access token permission to Read Only or Disabled so that unauthenticated users can not login as someone else. And review the Access Control lists. Most apps will want to disable \"Allow retrieving user list\" as that could expose usage numbers and other information.\n\n## Requirements\n\nAndroid Studio 2.0+\n\n## Running the app\n\nOpen this project in Android Studio and select 'run configurations' to view a dropdown of feature-level Chat samples to choose from.\n\nOnce a sample is chosen, create a device and run the app on an Android device or Android emulator.\n\n### Language\n\n+ Kotlin\n\n### Version\n\n+ Android SDK\n    + compileSdk: 32\n    + minSdk: 26\n    + targetSdk: 32\n+ Gradle Version\n    + gradle: 7.2\n    + android gradle plugin: 4.2.0\n\n## Project structure\n\n```\n.\n├── commonmodule\n│   ├── ui\n│   │   ├── CustomViews\n│   │   └── base\n│   │        ├── BaseApplication\n│   │        ├── BaseActivity\n│   │        └── BaseFragment\n│   └── utils\n│       ├── Utils\n│       └── Extension\n├── groupchannel-basic\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-typingindicator\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-readnessage\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-unreadmessages\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-onlinemembers\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-membersandoperators\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-banned-and-muted-users\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-groupchannel-add-remove-operators\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-mention-members\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-report-user-message-channel\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-freeze-unfreeze\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-mute-user\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-admin-message\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-ban-unban-user\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-mark-message-read\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-push-notifications\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── groupchannel-update-message-operator\n│   ├── groupchannel\n│   ├── main\n│   └── user\n├── openchannel-basic\n│   ├── openchannel\n│   └── main\n├── openchannel-user-online\n│   ├── openchannel\n│   └── main\n├── openchannel-update-message\n│   ├── openchannel\n│   └── main\n├── openchannel-delete-message\n│   ├── openchannel\n│   └── main\n├── openchannel-copy-message\n│   ├── openchannel\n│   └── main\n├── openchannel-mention-user\n│   ├── openchannel\n│   └── main\n├── openchannel-report-message-user-channel\n│   ├── openchannel\n│   └── main\n├── openchannel-admin-message\n│   ├── openchannel\n│   └── main\n└── openchannel-feature-a\n...\n\n```\n\n### [CommonModule](https://github.com/sendbird/sendbird-chat-sample-android/tree/main/commonmodule)\n\n- [ui](https://github.com/sendbird/sendbird-chat-sample-android/tree/main/commonmodule/src/main/java/com/sendbird/chat/module/ui)\n    - Created for frequently used views.\n    - Created activities commonly used such as Sign-Up, Splash, and UserInfo.\n- [utils](https://github.com/sendbird/examples-chat-ios/tree/main/CommonModule/CommonModule/View)\n    - Commonly used functions in Basic, Feature App\n\n### BasicSample\n\n- groupchannel-basic\n- openchannel-basic\n\n### FeatureSample\n\n- groupchannel-typingindicator\n- groupchannel-unreadmessages\n- groupchannel-readmessage\n- groupchannel-onlinemembers\n- groupchannel-membersandoperators\n- groupchannel-banned-and-muted-users\n- groupchannel-user-online\n- groupchannel-mention-members\n- openchannel-user-online\n- openchannel-delete-message\n- openchannel-update-message\n- openchannel-copy-message\n...\n\n## Considerations in real world app\n - In this sample repo users are connecting to sendbird using a user ID (Sendbird Dashboard --\u003e Security --\u003e Read \u0026 Write). Read \u0026 Write is not secure and will create a new user automatically from the SDK if none exists. In production be sure to change the Sendbird Dashboard security settings to Deny login, and [authenticate users](https://sendbird.com/docs/chat/v4/android/guides/authentication#2-connect-to-sendbird-server-with-a-user-id-and-a-token) with a Sendbird generated Session Token.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsendbird%2Fsendbird-chat-sample-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsendbird%2Fsendbird-chat-sample-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsendbird%2Fsendbird-chat-sample-android/lists"}