cometchat-native-core

Installation
SKILL.md

Purpose

This is the foundational skill for every CometChat React Native UI Kit v5 integration. It teaches Claude HOW CometChat works on RN — initialization order, provider wrapper chain, login, env vars, auth tokens, and the anti-patterns that break real apps.

Read this skill first, before any framework (cometchat-native-expo-patterns / cometchat-native-bare-patterns) or placement skill.

Ground-truth sources: docs/ui-kit/react-native/overview.mdx, react-native-cli-integration.mdx, expo-integration.mdx, methods.mdx, and @cometchat/chat-uikit-react-native@5.3.3's src/index.ts.


1. The init-login-render order

CometChat has exactly one valid lifecycle on React Native:

CometChatUIKit.init(settings)   →   CometChatUIKit.login({ uid })   →   render <CometChat*> components

Breaking this order produces a blank screen, a "CometChat is not initialized" runtime error, or a hung login. No exceptions.

Related skills

More from cometchat/cometchat-skills

Installs
4
GitHub Stars
26
First Seen
Apr 28, 2026