cometchat-flutter-v6-calls
Installation
SKILL.md
Purpose
Production-grade voice + video calling for Flutter UIKit v6 (stable, Bloc-based). Loaded by cometchat-calls when framework === "flutter" and flutter_version === "v6". Operates in two modes:
- Standalone — calls is the product. Chat SDK + Calls SDK without the v6 UI Kit (rare today, since the UI Kit ships calling bundled). Custom call screens on the SDKs.
- Additive — calls layered onto an existing v6 chat integration. The v6 UI Kit ships call widgets in the same package (
cometchat_chat_uikit) — no extra dependency. The skill enables calling onUIKitSettings, callsCometChatUIKitCalls.init()in the chat-init success callback, mounts the global incoming-call overlay at app root.
Read these other skills first:
cometchat-calls— dispatcher (modes, hard rules, anti-patterns)cometchat-flutter-v6-core— UIKitSettings, init/login order (CHAT_INIT_BEFORE_CALLS_INIT is THE rule)cometchat-flutter-v6-events— Bloc event streams + listener registration
V6 vs V5 difference (critical for migration):
- V6 — single
cometchat_chat_uikitpackage (calls bundled in) - V5 —
cometchat_chat_uikit+cometchat_calls_uikit(separate) - V6 uses Bloc; V5 uses GetX
- V6
CometChatUIKitCalls.init(appId, region)must run AFTERCometChatUIKit.init()succeeds; V5 hides this viaCometChatCallingExtension