Add voice and video calling to an Android v6 CometChat app — the Calls SDK dependency, the settings-file calling toggle, call buttons in the message header, a global incoming-call listener…
Install the "cometchat-android-v6-calls" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-android-v6-calls into .claude/skills/cometchat-android-v6-calls/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-android-v6-calls", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add cometchat/cometchat-skills --skill cometchat-android-v6-calls -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "cometchat-android-v6-calls" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-android-v6-calls into .agents/skills/cometchat-android-v6-calls/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-android-v6-calls", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add cometchat/cometchat-skills --skill cometchat-android-v6-calls -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "cometchat-android-v6-calls" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-android-v6-calls into .cursor/skills/cometchat-android-v6-calls/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-android-v6-calls", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add cometchat/cometchat-skills --skill cometchat-android-v6-calls -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "cometchat-android-v6-calls" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-android-v6-calls into .gemini/skills/cometchat-android-v6-calls/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-android-v6-calls", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add cometchat/cometchat-skills --skill cometchat-android-v6-calls -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "cometchat-android-v6-calls" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-android-v6-calls into .github/skills/cometchat-android-v6-calls/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-android-v6-calls", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add cometchat/cometchat-skills --skill cometchat-android-v6-calls -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "cometchat-android-v6-calls" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-android-v6-calls into .opencode/skills/cometchat-android-v6-calls/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-android-v6-calls", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
cometchat-android-v6-calls
GitHub stars
130
Token cost
~3.6k tokens
SKILL.md length
1,238 words
Files
1
Skills in repo
97
Repo updated
First seen
Licence
MIT
At a glance
Add voice and video calling to an Android v6 CometChat app — the Calls SDK dependency, the settings-file calling toggle, call buttons in the message header, a global incoming-call listener…
Works in 2 steps: Dependency + enableCalling → call… → initFromSettings resolves → login…
Tasks that involve Android development
SKILL.md covers Companion skills (read first), Use this skill when, Calls package + version and Call-flow ordering (BAKED —…, plus 4 more sections
Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
What it does
Cometchat Android V6 Calls is an agent skill from cometchat/cometchat-skills. Add voice and video calling to an Android v6 CometChat app — the Calls SDK dependency, the settings-file calling toggle, call buttons in the message header, a global incoming-call listener, outgoing/ongoing call UI, call logs, and the runtime permissions. Triggers: 'add calling to my android app', 'voice video call android cometchat', 'incoming call screen android', 'call logs android', 'why are the call buttons not showing'.
Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Android minSdk =28; compileSdk =36; Kotlin =2.1; AGP =8.9.1; JVM target 11; com.cometchat:chatuikit-kotlin-android ^6 OR…
It sits in Mobile, covering Android development. It works with Android, CometChat, React and React Native. The repository describes itself as: Add CometChat chat & messaging and voice & video calls to any React, Next.js, React Native, Angular, Android, iOS, or Flutter project through your AI coding agent. Works with… The licence is MIT.
Cometchat Android V6 Calls loads about 3.6k tokens when it runs. Until then it costs about 114 tokens; SKILL.md has 1,238 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~114
When it runs· the whole SKILL.md, loaded when a task matches
~3.6k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Download SKILL.mdSave it as .claude/skills/cometchat-android-v6-calls/SKILL.md (or your agent's skills folder).
name
cometchat-android-v6-calls
description
Add voice and video calling to an Android v6 CometChat app — the Calls SDK dependency, the settings-file calling toggle, call buttons in the message header, a global incoming-call listener, outgoing/ongoing call UI, call logs, and the runtime permissions. Triggers: 'add calling to my android app', 'voice video call android cometchat', 'incoming call screen android', 'call logs android', 'why are the call buttons not showing'.
cometchat android calls voice video v6 calling compose views
Ground truth: catalog android-v6.json + features.android-v6.json (voice-video-calls) + contracts.android-v6.json (voice-video-calls) + the live pages calling-integration, call-features, components/{call-buttons,incoming-call,outgoing-call,call-logs}, guide-call-log-details. Deep Calls-SDK behavior: the /calls/android docs tree. Verify symbols against the catalog; fetch params from docs; never trust memory.
Companion skills (read first)
cometchat-android-v6-core — install, credentials (assets/cometchat-settings.json), initFromSettings → login → render, sizing (references/layout.md), the fetch map. Assumed here, never repeated.
cometchat-android-v6-{kotlin,compose}-placement — where the incoming-call surface sits in the app shell.
Use this skill when
"add voice/video calling", "show call buttons in the chat", "handle incoming calls", "add a call history screen", "the call buttons aren't appearing", "call log details".
Calls package + version
Add the Calls SDK alongside your cohort's UI Kit artifact (never instead of it):
kotlin
dependencies {
implementation("com.cometchat:chatuikit-compose-android:6.0.5") // or chatuikit-kotlin-android for XML Views
implementation("com.cometchat:calls-sdk-android:5.0.4")
}
⚠️ REQUIRED whenever android.enableJetifier=true (which core mandates for the Chat SDK's
pre-AndroidX transitive) — add a Jetifier ignore-list, or the build breaks the moment you add calling.calls-sdk-android 5.0.x bundles a React-Native stack (react-android / hermes / react-native-webrtc),
and Jetifier cannot transformreact-android-*.aar — so with Jetifier on, the build dies at
checkDebugAarMetadata with Execution failed for JetifyTransform: react-android-0.77.2-debug.aar
(the app compiled fine BEFORE calling; adding the artifact breaks it — verified 2026-09-10). These
AARs are already AndroidX, so exclude them from Jetifier in gradle.properties:
⚠️ The artifact and the flag are a PAIR — setting either alone breaks the app.
· flag true, artifact missing → app crashes at launch (initFromSettings → initCometChatCalls → NoClassDefFoundError: CometChatCalls$SessionSettingsBuilder)
· artifact present, flag false → calling components crash when used (RuntimeException: Please call the CometChatCalls.init() method …)
⚠️ BOTH are required — the artifact alone is not enough.uiKit.enableCalling: true in
assets/cometchat-settings.json is what makes initFromSettings initialize CometChatCalls.
Without it, CometChatCallLogs throws RuntimeException: Please call the CometChatCalls.init() method …; without the artifact it throws NoClassDefFoundError. Both compile fine — device-only
failures (verified 2026-08-21).
The kit auto-detects the Calls SDK and activates calling. Also set "uiKit": { "enableCalling": true } in app/src/main/assets/cometchat-settings.json so CometChatUIKit.initFromSettings(...) initializes the Calls SDK through the telemetry-aware path (it auto-inits Calls when that flag is on). Dashboard: calling must be enabled for the app.
Header call buttons differ BY COHORT (verified vs installed 6.0.5 source):
Views: automatic — CometChatMessageHeader's voice/video button visibility defaults follow CallsUtils.isCallingEnabled(), so the buttons render with no extra code once calling is enabled.
Compose: NOT automatic — the CometChatMessageHeader composable defaults hideVoiceCallButton = true and hideVideoCallButton = true. Pass both explicitly:kotlin
And do NOT use the header's auxiliaryView slot for other icons — it REPLACES the default auxiliary area that hosts the call buttons (they vanish). Extra header icons go in trailingView (see cometchat-android-v6-compose-components).
Call-flow ordering (BAKED — invariant)
Dependency + enableCalling → call buttons appear in the message header (Views: nothing to wire; Compose: pass hideVoiceCallButton = false, hideVideoCallButton = false — see above).
initFromSettings resolves → login resolves (as always) — calling is unavailable before that.
⚠️ Enabling calling in an app with EXISTING sessions — force a fresh login.CometChatUIKit.login()
short-circuits when the same uid is already logged in (persisted session): it returns onSuccess
WITHOUT calling loginCometChatCalls, so the Calls SDK never gets an auth token (verified vs 6.0.5
CometChatUIKit.kt login + on device 2026-08-25). Symptom: CometChatCallLogs shows a silent
error state; logcat says User auth token cannot be null. When calling is FIRST enabled on an app
whose users already have a session, users must re-login — CometChatUIKit.logout(...) then
CometChatUIKit.login(...) (or force a fresh login path once, e.g. on a calling-feature version
bump). During development, wire onError on CometChatCallLogs so this failure is not silent.
Register a GLOBAL call listener so an incoming call rings from anywhere in the app — the docs recommend an Application subclass, registering before the UI Kit is used:
kotlin
import com.cometchat.chat.core.Call // NOTE: chat.core, NOT chat.models
import com.cometchat.chat.core.CometChat
class BaseApplication : Application() {
companion object {
private val LISTENER_ID = "${BaseApplication::class.java.simpleName}${System.currentTimeMillis()}"
}
override fun onCreate() {
super.onCreate()
CometChat.addCallListener(LISTENER_ID, object : CometChat.CallListener() {
override fun onIncomingCallReceived(call: Call) { /* show CometChatIncomingCall over the current screen */ }
override fun onOutgoingCallAccepted(call: Call) { /* proceed to the ongoing-call surface */ }
override fun onOutgoingCallRejected(call: Call) { /* dismiss the outgoing UI */ }
override fun onIncomingCallCancelled(call: Call) { /* dismiss the incoming UI */ }
})
}
}
Register the Application class in the manifest (android:name=".BaseApplication"). Views: instantiate CometChatIncomingCall(context), set its call, set fitsSystemWindows = true, wire its error handler, and present it (dialog / full-screen overlay). Compose: hold the incoming Call in app-level state and render the incoming-call composable above your nav host — fetch the composable's params from components/incoming-call.md.
4. Permissions — request CAMERA and RECORD_AUDIO at runtime before a call starts (video needs both; audio-only needs RECORD_AUDIO); declare them in the manifest. The kit ships CometChatPermissionHandler / CometChatPermissionActivity — prefer them over a hand-rolled flow.
ℹ️ SoLoader / bundled React-Native native libs (know this before an ACTIVE call).calls-sdk-android
5.0.x bundles a React-Native stack (react-android / hermes / react-native-webrtc), declared at
runtime scope in its POM — so they land on the runtime classpath and initFromSettings calls-init +
CometChatCallLogs work with no extra deps (verified on device: init succeeds, call logs render).
An active call surface loads those native .sos, which on RN ≥ 0.76 depend on SoLoader. If an
active call fails to open with a SoLoader/UnsatisfiedLinkError/NoClassDefFoundError (React/JSI/
Hermes symbols), add the RN + SoLoader artifacts on the compile classpath and init SoLoader once in
Application.onCreatebefore the first call surface:
kotlin
// build.gradle.kts (only if an active call throws a SoLoader/native-link error)
implementation("com.facebook.react:react-android:0.77.2") // match what calls-sdk-android pulls
implementation("com.facebook.soloader:soloader:0.12.1")
// Application.onCreate: SoLoader.init(this, OpenSourceMergedSoMapping)
Whether 5.0.x needs this for an active call is not yet settled from a single device — it is NOT needed for
init or call logs. Verify with a real two-device call; treat this as the fix if (and only if) you hit that
native-link error, not as an unconditional step.
Show full SKILL.md (415 more words)Show less
Calls component / API map (BAKED closed list)
CometChatCallButtons (auto-rendered in the message header; can also be placed standalone) · CometChatIncomingCall (ringing UI — accept/decline) · CometChatOutgoingCall (dialing UI) · CometChatOngoingCall + CometChatOngoingCallActivity / CometChatCallActivity (the in-call surface) · CometChatCallLogs (call history list) + CometChatCallLogsListItem · call bubbles in the message list: CometChatCallActionBubble, CometChatMeetCallBubble · CometChatCallEvent (call events → cometchat-android-v6-events). SDK-side (build-your-own flows): CometChat.initiateCall / acceptCall / rejectCall / getActiveCall / clearActiveCall / addCallListener / removeCallListener — see core/references/docs-map.md → SDK section.
The minimum for "add calling" (contract voice-video-calls): initiate (buttons) + incoming-call UI + outgoing-call UI + call logs. A call button with no incoming-call handler is a dead end — the callee never sees the ring.
kotlin
// Minimum calls surface — four components for voice-video-calls contract
// CometChatCallButtons: auto-rendered in the message header; place standalone when needed
val callButtons = CometChatCallButtons(context)
// CometChatOutgoingCall: shown while the callee hasn't answered yet
val outgoingCall = CometChatOutgoingCall(context)
outgoingCall.call = pendingCall
// CometChatCallActivity / CometChatOngoingCallActivity: the in-call surface, launched
// automatically during a session. ⚠️ You do NOT declare these — BOTH are already declared in the
// UI-Kit AAR manifest and merge in automatically (verified vs 6.0.x). The cohort-correct classes:
// Compose: com.cometchat.uikit.compose.calls.CometChatCallActivity
// com.cometchat.uikit.compose.presentation.ongoingcall.ui.CometChatOngoingCallActivity
// Views: com.cometchat.uikit.kotlin.calls.CometChatCallActivity
// com.cometchat.uikit.kotlin.presentation.ongoingcall.ui.CometChatOngoingCallActivity
// (There is NO `com.cometchat.chatuikit.calling.*` class in v6 — that's a v5/v4-era name; do not
// add a manual <activity> line for it or the merge/launch breaks.)
// CometChatCallLogs: call history tab
val callLogs = CometChatCallLogs(context)
the /calls/android/* pages (call-layouts, custom-control-panel, audio-modes, background-handling, idle-timeout, events, …)
Common pitfalls
Importing com.cometchat.chat.models.Call (it is com.cometchat.chat.core.Call — the wrong import compiles to an "Unresolved reference 'Call'" cascade) · manually declaring CometChatCallActivity/CometChatOngoingCallActivity in your manifest (they AUTO-MERGE from the UI-Kit AAR — a hand-written <activity> with the wrong/legacy com.cometchat.chatuikit.calling.* name breaks the launch) · Calls SDK missing (buttons never appear) · enableCalling not set in the settings file · Compose header without hideVoiceCallButton = false / hideVideoCallButton = false (buttons never appear — Compose defaults hide them) · Compose auxiliaryView used for a custom header icon (it replaces the call-button host — use trailingView) · calling enabled on an app with a persisted session without a re-login (Calls SDK tokenless — call logs silently error with "User auth token cannot be null") · no global call listener (incoming calls never ring) · listener registered per-Activity only (rings only on that screen) · registering in Application but forgetting android:name in the manifest · missing runtime CAMERA/RECORD_AUDIO permissions (call fails silently) · calling before login resolves · call UI not fitsSystemWindows / not full-bleed (controls under system bars) · leaking the listener (remove it if you register outside Application) · mixing a v4/v5 calls artifact with the v6 kit.
Verify it works
Compile against the pinned kit (./gradlew :app:assembleDebug # in YOUR app (npm run verify:fences:android-v6 is a pack-repo gate)). On device (TWO devices/emulators + two users — calling can't be verified single-ended): call buttons render in the message header; tapping starts an outgoing call; the OTHER device rings with the incoming UI from any screen; accept → ongoing call with audio/video; decline/cancel dismisses cleanly on both sides; the call appears in CometChatCallLogs and as a call bubble in the chat. No ring ⇒ listener not registered globally (or app not logged in). Permission denial ⇒ handle it and tell the user, don't fail silently.
Cometchat Android V6 Calls next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Cometchat Android V6 Calls compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Cometchat Android V6 Calls this skillcometchat/cometchat-skills
USE THIS when writing or reviewing Jetpack Compose / Kotlin code in packages/cds-android or apps/android-app - @Composable APIs, Modifier parameters, CompositionLocal, state hoisting, or naming.
Helps add Expo and React Native to an existing native iOS or Android app, and choose between a prebuilt AAR or XCFramework and a fully integrated build.
Build and run repeatable react-native-nitro-sound recorder/player regression tests on an iOS Simulator or Android emulator, with explicit virtual-device selection, microphone permission, Maestro…
Adds voice and video calling to an Android app in Kotlin with the headless CometChat Calls SDK v5, covering meeting-style rooms, 1:1 ringing calls, call logs and recording.
Builds chat on Android with your own UI against the headless CometChat Chat SDK v5, covering install, Jetifier conflicts, credentials and init-before-login ordering.
Picks and customizes CometChat's Angular UI Kit components by their verified component list, exact input and output event names, and the surfaces that have no kit component at all.
Enables or builds CometChat features such as polls, reactions, smart replies and pinned messages in an Angular app, first classifying how much client code each one needs.
Decides where CometChat chat UI goes in an Angular app: a dedicated route, a dashboard panel, a support widget or the full multi-pane app, with thread and search panels.
Add voice & video calling to any iOS app FROM SCRATCH with the headless CometChat Calls SDK v5 (CometChatCallsSDK, via Swift Package Manager) — no UI Kit.
Add voice and video calling to an Android v6 CometChat app — the Calls SDK dependency, the settings-file calling toggle, call buttons in the message header, a global incoming-call listener…. Cometchat Android V6 Calls is an agent skill from cometchat/cometchat-skills. Add voice and video calling to an Android v6 CometChat app — the Calls SDK dependency, the settings-file calling toggle, call buttons in the message header, a global incoming-call listener, outgoing/ongoing call UI, call logs, and the runtime permissions.
How do I install Cometchat Android V6 Calls in Claude Code?
Run `npx skills add cometchat/cometchat-skills --skill cometchat-android-v6-calls -a claude-code`. Or copy the skill folder (skills/cometchat-android-v6-calls in cometchat/cometchat-skills) into .claude/skills/cometchat-android-v6-calls in your project. Claude Code loads it when a task matches its description.
How do I install Cometchat Android V6 Calls in Codex?
Run `npx skills add cometchat/cometchat-skills --skill cometchat-android-v6-calls -a codex`. Or copy the skill folder (skills/cometchat-android-v6-calls in cometchat/cometchat-skills) into .agents/skills/cometchat-android-v6-calls in your project. Codex loads it when a task matches its description.
Can I use Cometchat Android V6 Calls in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cometchat/cometchat-skills --skill cometchat-android-v6-calls -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cometchat-android-v6-calls, .gemini/skills/cometchat-android-v6-calls, .github/skills/cometchat-android-v6-calls and .opencode/skills/cometchat-android-v6-calls in your project.
What does Cometchat Android V6 Calls need to run?
SKILL.md names no scripts, command-line tools or credentials: Cometchat Android V6 Calls is instructions for the agent only. Compatibility (from SKILL.md): Android minSdk >=28; compileSdk >=36; Kotlin >=2.1; AGP >=8.9.1; JVM target 11; com.cometchat:chatuikit-kotlin-android ^6 OR com.cometchat:chatuikit-compose-android ^6 (6.0.x, verified 6.0.5); com.cometchat:calls-sdk-android ^5 (5.0.x); com.cometchat:chat-sdk-android ^5.
Does Cometchat Android V6 Calls access the network?
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Is Cometchat Android V6 Calls safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does Cometchat Android V6 Calls use?
Cometchat Android V6 Calls is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Cometchat Android V6 Calls use?
About 3.6k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
What are the alternatives to Cometchat Android V6 Calls?
Skills that share tags, products or a category with Cometchat Android V6 Calls: Jetpack Best Practices (coinbase/cds, 506 stars), Upgrade React Native (Shopify/flash-list, 7.2k stars), Claude Android Ninja (Drjacky/claude-android-ninja, 124 stars) and Screenmap (aleqsio/screenmap, 242 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Cometchat Android V6 Calls?
cometchat (a GitHub organization) maintains it in cometchat/cometchat-skills, which has 130 GitHub stars. The repository holds 97 skills in this directory. The repository was last updated on October 5, 2026.
Source: cometchat/cometchat-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.