Skip to content
项目

GetStream/stream-chat-react-native

在 GitHub 查看

关于

💬 React Native 聊天 SDK ➜ Stream Chat。包含一份教程,介绍如何使用 React Native、React Navigation 和 Stream 构建自己的聊天应用体验。

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Official React Native SDK for Stream Chat

Stream Chat React Native SDK

The official React Native and Expo components for Stream Chat, a service for building chat applications.

NPM Build Status Component Reference JS Bundle Size

Quick Links

Current Version

v10 is the current major version, for React Native CLI and Expo apps. Read the v10 documentation, find the latest release on the releases page, and follow the upgrade guide to upgrade from v9.

Newer features include:

  • Polls: create polls, vote and show the results in the message list
  • Pinned messages: pin messages and list a channel's pinned messages
  • Voice messages: record, send and play back voice recordings
  • Threads: reply in threads and browse them in a thread list
  • Drafts: keep unsent messages and replies as drafts
  • Message reminders: get reminded about a message, or save it for later
  • Location sharing: share a static or a live location
  • Delivery and read receipts: show when a message was delivered and read
  • Message translation: translate messages automatically into each user's language
  • AI components: streaming responses, reasoning and tool call steps, and generative UI for AI assistants

Contents

📖 React Native Chat Tutorial

The best place to start is the React Native Chat Tutorial. It teaches you how to use this SDK and also shows how to make frequently required changes.

🤖 Build with AI Agents

If you build with an AI coding agent, our agent skills teach it how to use this SDK correctly. Install them once:

curl -fsSL https://getstream.io/cli.sh | bash
getstream init

Then reach for the /stream-react-native skill:

/stream-react-native create a new Expo chat app
/stream-react-native upgrade stream-chat-react-native to v9

It can scaffold a new Expo or React Native CLI app with the SDK wired up, add Stream to an app you already have, audit an existing integration, or migrate between SDK major versions (including from Sendbird). Works with Claude Code, Cursor, Codex, and any other agent that reads the universal .agents location.

Contributing to this repository with an agent instead? See AGENTS.md for repository structure, commands, and conventions.

Free for Makers

Stream is free for most side and hobby projects. To qualify your project/company needs to have < 5 team members and < $10k in monthly revenue. For complete pricing details visit our Chat Pricing Page

🔮 Example Apps

This repo includes 2 example apps. One made with Expo, and a more full featured app example built with the React Native CLI.

Besides, our team maintains a dedicated repository for fully-fledged sample applications and demos at GetStream/react-native-samples. Please consider checking following sample applications:

💬 Keep in mind

  1. Navigation between different components is something we expect consumers to implement. You can check out the example given in this repository

  2. Minor releases may come with some breaking changes, so always check the release notes before upgrading the minor version.

You can see detailed documentation about the components at https://getstream.io/chat/docs/sdk/reactnative/

👏 Contributing

We welcome code changes that improve this library or fix a problem, and please make sure to follow all best practices and test all the changes. Please check our dev setup docs to get you started. We are pleased to merge your code into the official repository. Make sure to sign our Contributor License Agreement (CLA) first. See our license file for more details.

Git flow & Release process

We enforce conventional commits and have an automated releasing process using workspaces and semantic-release. Read our git flow & release process guide for more information

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.

探索相关项目

加载中…