npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tyrosking/chat-uikit-react-native

v0.1.4

Published

Tencent Cloud Chat UIKit for React Native - 11 chat UI components + i18n + utils, built on top of tuikit-atomicx-react-native. Pure JS/TS package, no native code.

Readme

@tencentcloud/chat-uikit-react-native

Tencent Cloud IM Chat UIKit for React Native — 20 business components + 22 ready-to-use Screens, install all dependencies with a single npm install, built on top of tuikit-atomicx-react-native to bridge the native SDK.

npm version RN


📦 Installation

Requirements: React Native >= 0.74, Node >= 22.11.0, npm >= 7 (npm 7+ auto-installs peer dependencies).

This package declares 11 peer dependencies — all required. npm 7+ auto-installs them on npm install, so a single line is enough.

Option A — React Native CLI (default)

# npm 7+ auto-installs all 11 peerDeps
npm install @tencentcloud/chat-uikit-react-native
cd ios && pod install   # iOS only

If you want a deterministic install (CI / locked registry), pin them explicitly:

npm install @tencentcloud/chat-uikit-react-native \
  react-i18next i18next \
  react-native-nitro-modules \
  react-native-nitro-sound \
  react-native-video \
  react-native-create-thumbnail \
  react-native-image-picker \
  @react-native-documents/picker \
  @react-native-async-storage/async-storage \
  react-native-safe-area-context \
  react-native-screens

After installing, regenerate native code:

# Android
cd android && ./gradlew clean && ./gradlew assembleDebug
# iOS
cd ios && pod install

Option B — Expo (managed / bare workflow)

Expo Go does not work — this UIKit requires custom native modules (nitro, sound, video, etc.). Use Expo prebuild + a custom dev client.

# 1. Install the package + all 11 peerDeps (Expo picks Expo-compatible versions)
npx expo install @tencentcloud/chat-uikit-react-native \
  react-i18next i18next \
  react-native-nitro-modules \
  react-native-nitro-sound \
  react-native-video \
  react-native-create-thumbnail \
  react-native-image-picker \
  @react-native-documents/picker \
  @react-native-async-storage/async-storage \
  react-native-safe-area-context \
  react-native-screens

# 2. Prebuild native projects
npx expo prebuild --clean

# 3. Build with EAS or local dev client
npx expo run:ios
npx expo run:android

Tip: if a peer dep has no Expo-compatible version, npx expo install will warn — fall back to npm install <pkg> and pin the version yourself.

Verify installation

# Should show 11+ native modules registered by RNC autolink:
npx react-native config | python3 -c "import json,sys; d=json.load(sys.stdin); print('autolinked:', len(d.get('dependencies',{})))"
# Expected output: autolinked: 11 (or more)

If the count is less than 11, a peer dep is missing from your package.json — re-run the install commands above.


🚀 Quick Start (3 steps)

Why copy screens/ to local? The 22 screens are the view layer — you'll almost always want to tweak them (your brand, your flow, your i18n strings). Keeping them in node_modules makes them read-only. Copy once, edit freely.

Step 1 — Install

npm install @tencentcloud/chat-uikit-react-native
cd ios && pod install   # iOS only

Step 2 — Copy screens into your project

mkdir -p src/screens
cp -R node_modules/@tencentcloud/chat-uikit-react-native/src/screens/. src/screens/

Step 3 — Wire up App.tsx

import React, { useState } from 'react'
import { StatusBar, StyleSheet, useColorScheme, View } from 'react-native'
import { SafeAreaProvider } from 'react-native-safe-area-context'
import { NavigationContainer } from '@react-navigation/native'
import { createNativeStackNavigator } from '@react-navigation/native-stack'

import {
  LoginScreen, ChatScreen, ChatSettingScreen,
  ConversationListScreen, ContactListScreen, SearchScreen,
  AddFriendScreen, AddGroupScreen, ApplicationVerifyScreen,
  BlackListScreen, ContactInfoScreen, FriendApplicationListScreen,
  GroupApplicationListScreen, GroupListScreen, SetRemarkScreen,
  GroupManagementScreen, GroupMemberListScreen, GroupTypeInfoScreen,
  CreateGroupScreen, SearchInConversationScreen, UserFilterScreen,
  UserPickerScreen, BottomTabBar, type BottomTabKey,
} from './src/screens'

import { ToastRoot } from '@tencentcloud/chat-uikit-react-native'

const Stack = createNativeStackNavigator()

const MainScreen: React.FC = () => {
  const [activeTab, setActiveTab] = useState<BottomTabKey>('message')
  return (
    <View style={styles.mainScreen}>
      {activeTab === 'message' ? <ConversationListScreen /> : <ContactListScreen />}
      <BottomTabBar current={activeTab} onChange={setActiveTab} />
    </View>
  )
}

export default function App(): React.JSX.Element {
  const isDarkMode = useColorScheme() === 'dark'
  return (
    <SafeAreaProvider>
      <StatusBar barStyle={isDarkMode ? 'light-content' : 'dark-content'} />
      <ToastRoot />
      <NavigationContainer>
        <Stack.Navigator initialRouteName="Login" screenOptions={{ headerShown: false }}>
          <Stack.Screen name="Login" component={LoginScreen} />
          <Stack.Screen name="Main" component={MainScreen} />
          <Stack.Screen name="Chat" component={ChatScreen} />
          <Stack.Screen name="Search" component={SearchScreen} />
          <Stack.Screen name="ChatSetting" component={ChatSettingScreen} />
          <Stack.Screen name="AddFriend" component={AddFriendScreen} />
          <Stack.Screen name="AddGroup" component={AddGroupScreen} />
          <Stack.Screen name="ApplicationVerify" component={ApplicationVerifyScreen} />
          <Stack.Screen name="BlackList" component={BlackListScreen} />
          <Stack.Screen name="ContactInfo" component={ContactInfoScreen} />
          <Stack.Screen name="FriendApplicationList" component={FriendApplicationListScreen} />
          <Stack.Screen name="GroupApplicationList" component={GroupApplicationListScreen} />
          <Stack.Screen name="GroupList" component={GroupListScreen} />
          <Stack.Screen name="SetRemark" component={SetRemarkScreen} />
          <Stack.Screen name="GroupManagement" component={GroupManagementScreen} />
          <Stack.Screen name="GroupMemberList" component={GroupMemberListScreen} />
          <Stack.Screen name="GroupTypeInfo" component={GroupTypeInfoScreen} />
          <Stack.Screen name="CreateGroup" component={CreateGroupScreen} />
          <Stack.Screen name="SearchInConversation" component={SearchInConversationScreen} />
          <Stack.Screen name="UserFilter" component={UserFilterScreen} />
          <Stack.Screen name="UserPicker" component={UserPickerScreen} />
        </Stack.Navigator>
      </NavigationContainer>
    </SafeAreaProvider>
  )
}

const styles = StyleSheet.create({ mainScreen: { flex: 1, backgroundColor: '#F5F5F5' } })

Before first login, edit src/screens/LoginScreen.tsx and set your SDKAppID / SecretKey.

License

Copyright © 2026 Tencent. All rights reserved.