Skip to content

πŸ“• Provides a list of samples that utilize modern Android tech stacks and Stream Chat SDK for Android and Compose.

License

Notifications You must be signed in to change notification settings

GetStream/Android-Samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Android Sample Apps

Build Status API Stream Feeds

😎 Repo Overview

This repository contains sample projects, guides, tutorials, and links to helpful resources to help you get started with Android Stream SDK.

πŸ”— Quick Links

Tutorials:

Documentation:

πŸ“Ή Stream Video SDK

Stream also offers seamless Video SDK solutions that allow you to implement video calling, audio/video room, and live streaming using Jetpack Compose. If you're interested in learning the Stream Video SDKs, check out the tutorials below:

🀝 Contribution

Submissions are always welcomed! You can create your own open-source project or sample app by creating a new module for this project following our Android Chat Tutorial or Compose Chat Tutorial. After building your project, create an issue or pull request. Your project will be categorized 😎 under our featuring list after reviewing the project in our team.

We also welcome code changes that improve the apps or fix a problem. Please follow all best practices and add tests if applicable before submitting a Pull Request on Github.

πŸš€ Main Samples

Project

UI Components Sample App


The main sample app built on top of our UI components. Maintained to support the latest version of the SDK.

β€’ Multiple users accounts
β€’ Offline support
β€’ Message search and filtering
β€’ Channel creation
β€’ Push notifications
β€’ Threads and replies
β€’ Emoji reactions
β€’ User mentions
β€’ Giphy integration
β€’ Attachments picker
β€’ Typing indicators

> Source Code

UI Components Sample App Preview

Compose UI Components Sample App


The main sample app built on top of our Compose UI Components. Maintained to support the latest version of the SDK.

β€’ Multiple users accounts
β€’ Offline support
β€’ Channel search and filtering
β€’ Push notifications
β€’ Threads and replies
β€’ Emoji reactions
β€’ User mentions
β€’ Giphy integration
β€’ Attachments picker
β€’ Typing indicators

> Source Code

Compose UI Components Sample App Preview

✈️ Additional samples

Project

Video Chat Sample


Livestream app that demonstrates how to use the low level client to listen for events.

β€’ Video list and details
β€’ Custom message list
β€’ Low level client integration

> Source Code

Video Chat Sample Preview

Virtual Event Sample


Virtual event sample app.

β€’ Direct and livestream chats
β€’ Light and dark modes
β€’ Multiple user accounts

> Source Code

Virtual Event Sample Preview

WhatsApp Clone


WhatsApp clone app.

β€’ Custom message input
β€’ Custom message list header

> Source Code

WhatsApp Clone Preview

WhatsApp Clone Compose


WhatsApp clone app built with Jetpack Compose and Stream Chat SDK for Compose.

β€’ Demonstrates ChatGPT's unofficial APIs
β€’ Implementing entire UI elements with Jetpack Compose
β€’ mplementation of Android architecture components with Jetpack libraries such as Hilt and AppStartup
β€’ Performing background tasks with Kotlin Coroutines

> Source Code

WhatsApp Clone Compose Preview

ChatGPT Android


ChatGPT Android demonstrates OpenAI's ChatGPT on Android with Stream Chat SDK for Compose.

β€’ Implementing entire UI elements with Jetpack Compose
β€’ Implementation of Android architecture components with Jetpack libraries such as Hilt and AppStartup
β€’ Performing background tasks with Kotlin Coroutines
β€’ Integrating chat systems with Stream Chat SDK for real-time event handling
β€’ Integrating chat systems with Stream Chat SDK for real-time event handling

> Source Code

ChatGPT Clone Compose Preview

Gemini Android


Gemini Android demonstrates Google's Generative AI on Android with Stream Chat SDK for Compose.

β€’ Implementing entire UI elements with Jetpack Compose
β€’ Implementation of Android architecture components with Jetpack libraries such as Hilt and AppStartup
β€’ Performing background tasks with Kotlin Coroutines
β€’ Integrating chat systems with Stream Chat SDK for real-time event handling
β€’ Integrating chat systems with Stream Chat SDK for real-time event handling

> Source Code

Gemini Clone Compose Preview

Twitch Clone Compose


Twitch clone project demonstrates modern Android development built with Jetpack Compose and Stream Chat/Video SDK for Compose.

β€’ Implementing entire UI elements with Jetpack Compose
β€’ Implementation of Android architecture components with Jetpack libraries such as Hilt and AppStartup
β€’ Performing background tasks with Kotlin Coroutines
β€’ Integrating chat systems with Stream Chat SDK for real-time event handling
β€’ Integrating video call systems with Stream Video SDK using WebRTC under the hood

> Source Code

Twitch Clone Compose Preview

Slack Clone Compose


Slack clone app built with Jetpack Compose and Stream Chat SDK for Compose following clean architecture principles.

β€’ Implementing entire UI elements with Jetpack Compose
β€’ Implementation of Android architecture components with Jetpack libraries such as Hilt
β€’ Performing background tasks with Kotlin Coroutines
β€’ Integrating chat systems with Stream Chat SDK for real-time event handling and authentication

> Source Code

Slack Clone Compose Preview

Avengers Chat


Demo application based on modern Android tech stacks and Stream Chat SDK.

β€’ Light and Dark themes
β€’ Different color themes by a chosen character
β€’ 100% offline mode supports
β€’ Live stream chat example
β€’ Channel and message lists
β€’ Direct message and group messages
β€’ Mentioned message list
β€’ Custom emoji reactions
β€’ Guest mode
β€’ User online/offline status
β€’ User last active date
β€’ User info & direct message dialogs
β€’ Visual animations like transition

> Source Code

Avengers Chat Preview

Facebook Messenger Clone


Facebook Messenger clone using Stream SDK & Jetpack Compose.

> Source Code

Facebook Messenger Clone Preview

Stream Draw


Real-time multiplayer drawing & chat game app built entirely with Jetpack Compose.

β€’ Light and Dark themes
β€’ Creating and joining a group channel
β€’ Supports host mode and guest mode
β€’ Welcome and exit messages
β€’ Fetches a list of words from the network
β€’ Real-time drawing on the sketchbook
β€’ Real-time chat messaging with multiple users
β€’ Real-time participants' list of a connected channel
β€’ Guessing a word and congratulation animations
β€’ Single message notification and real-time chat dialog for the host
β€’ Restarting game by the host
β€’ Exiting and deleting the channel by the host
β€’ And a lot of additional features using Stream Chat SDK for Android!

> Source Code

Stream Draw Preview

Foldable Chat


Demonstrates adaptive and responsive UIs with Jetpack WindowManager API.

> Source Code

Foldable Chat Preview

Chat Guides

See here for all our chat guides.

These guides explore our UI components in greater detail and demonstrate how to easily perform a variety of common actions using the Stream Chat Android SDK, such as:

UI Components:

Compose UI Components:

What is Stream?

Stream allows developers to rapidly deploy scalable feeds and chat messaging with an industry leading 99.999% uptime SLA guarantee.

With Stream's chat components, developers quickly add chat to their app for a variety of use-cases:

  • Livestreams like Twitch or Youtube
  • In-Game chat like Overwatch or Fortnite
  • Team style chat like Slack
  • Messaging style chat like Whatsapp or Facebook's messenger
  • Commerce chat like Drift or Intercom

πŸ’Ό We are hiring

We've recently closed a $38 million Series B funding round and we keep actively growing. Our APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world.

Check out our current openings and apply via Stream's website.

License

The MIT License (MIT)

Copyright (c) 2014-2022 Stream.io Inc. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

About

πŸ“• Provides a list of samples that utilize modern Android tech stacks and Stream Chat SDK for Android and Compose.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages