@cometchat/chat-uikit-react-native

中文文档
5.5.4发布于 2026/11/09https://www.cometchat.com/legal-terms-of-serviceESM + CJS近 30 天下载 1.8万

Ready-to-use Chat UI Components for React Native

原始使用文档
文档目录3 节
  1. Prerequisites
  2. Getting Started
  3. Help and Support

CometChat

CometChat UI Kit for React Native

The CometChat React Native UI Kit provides a pre-built user interface kit that developers can use to quickly integrate a reliable & fully-featured chat experience into an existing or a new app.

Prerequisites

  • Node.js 18 or higher
  • React Native 0.77

Getting Started

To set up CometChat React Native UI Kit and utilize CometChat for your chat and calls functionality, you'll need to follow these steps:

  • Register at the CometChat Dashboard to create an account.
  • After registering, log into your CometChat account and create a new app. Once created, CometChat will generate an Auth Key and App ID for you. Keep these credentials secure as you'll need them later.
  • Check the Key Concepts to understand the basic components of CometChat.
  • Refer to the Integration Steps in our documentation to integrate the UI Kit into your React Native app.

Help and Support

For issues running the project or integrating with our UI Kits, consult our documentation or create a support ticket or seek real-time support via the CometChat Dashboard.

版本与发布记录

@cometchat/chat-uikit-react-native 共发布 82 个版本,首次发布于 2023/06/07;过去 12 个月发布了 31 个版本。

版本发布日期距今
5.5.4latest2026/11/091 天前
5.5.32026/10/2318 天前
5.5.22026/10/1625 天前
5.5.12026/09/251 个月前
5.5.02026/09/082 个月前
5.4.12026/08/272 个月前

其他发布通道:beta → 5.0.0-beta.1,v4-beta → 4.3.27-beta.2,v4-latest → 4.3.27,v4-stable → 4.3.27,next → 5.2.10。

关于 @cometchat/chat-uikit-react-native 的常见问题

@cometchat/chat-uikit-react-native 是什么?

Ready-to-use Chat UI Components for React Native

如何安装 @cometchat/chat-uikit-react-native?

在项目目录运行 npm install @cometchat/chat-uikit-react-native,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(*)、react-native(*)、react-native-svg(*)、react-native-video(*)、react-native-localize(*)、react-native-gesture-handler(*)、react-native-safe-area-context(*)、@cometchat/chat-sdk-react-native(*)、@react-native-clipboard/clipboard(*)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@cometchat/chat-uikit-react-native 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/cometchat__chat-uikit-react-native 是否存在。

@cometchat/chat-uikit-react-native 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@cometchat/chat-uikit-react-native 可以商用吗?

@cometchat/chat-uikit-react-native 使用 https://www.cometchat.com/legal-terms-of-service 许可。声明的许可为 https://www.cometchat.com/legal-terms-of-service,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@cometchat/chat-uikit-react-native 的下载量有多少?

根据 npm 官方下载统计,@cometchat/chat-uikit-react-native 在 2026/10/11 – 2026/11/09 这 30 天内被下载 17,829 次,日均约 594 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cometchat/chat-uikit-react-native 还在维护吗?

最新版本 5.5.4 发布于 2026/11/09(1 天前);至今共发布 82 个版本,其中过去 12 个月发布了 31 个;首次发布于 2023/06/07。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。