Логотип Cometchat Flutter V6 Troubleshooting

Cometchat Flutter V6 Troubleshooting

Организация
cometchat
cometchat-flutter-v6-troubleshooting

Diagnose a broken CometChat Flutter integration — blank screens, unbounded-height crashes, lists that don't fill, login and Region failures, calls that never ring, push that never arrives, and v5 leftovers. Symptom → cause → fix. Triggers: 'cometchat not working flutter', 'blank chat screen', 'RenderFlex unbounded height', 'login failed cometchat', 'calls not ringing', 'push not arriving'.

Обзор

Издательcometchat
Репозиторийcometchat-skills
Название навыкаcometchat-flutter-v6-troubleshooting
Звёзды
109
Форки
2
Встроенные файлы
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Опубликовано на GitHub: cometchat. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Cometchat Flutter V6 Troubleshooting в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-flutter-v6-troubleshooting
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cometchat/cometchat-skills.git /tmp/cometchat-skills
mkdir -p .claude/skills
cp -r /tmp/cometchat-skills/skills/cometchat-flutter-v6-troubleshooting .claude/skills/cometchat-flutter-v6-troubleshooting
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Cometchat Flutter V6 Troubleshooting в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Cometchat Flutter V6 Troubleshooting, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Cometchat Flutter V6 Troubleshooting не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Ground truth: every cause below was confirmed against the published 6.1.0 (compiler or documented behaviour). The live page is /ui-kit/flutter/troubleshooting via ../cometchat-flutter-v6-core/references/docs-map.md. The deeper per-topic tables live in core's references/troubleshooting.md and references/anti-patterns.md — this skill is the entry point that ROUTES to the right one.

Companion skills (read first)

  • cometchat-flutter-v6-core — install, credentials, init→login→render, plus the reference tables this skill routes into. This skill ASSUMES it.

Use this skill when

Something is already built and is not working: a blank screen, a crash, an empty list, no ring, no notification.

Prerequisites & install

None — diagnosis only.

Triage in order (cheapest first)

  1. Does flutter analyze pass? A stale v5 symbol or a wrong barrel import is a compile error, not a runtime mystery.
  2. Did init AND login both reach onSuccess? Log both. Most "blank chat" reports stop here.
  3. Is the failing widget inside a bounded box? The second-most-common cause, and it is always the host's container.
  4. Is the thing you expect actually enabled — Dashboard toggle (extensions, moderation), uiKit.enableCalling, a push provider?
  5. Only then look at the kit.

Symptom → cause → fix

SymptomCauseFix
Blank/white chat screenA widget built before login resolvedGate the first frame on init and login (lifecycle.md)
Unable to load asset: cometchat-settings.jsonNot at project root, or not registeredAdd under flutter: assets:, re-run flutter pub get
Crash on startup before any UIWidgetsFlutterBinding.ensureInitialized() missingCall it first in main() — initFromSettings reads an asset
RenderFlex … unbounded heightA kit list in an unbounded parentExpanded/Flexible, or a fixed height (layout.md)
List renders as a zero-height sliverSame — content-driven parentSame
Composer hidden by the keyboardresizeToAvoidBottomInset: false, or nested ScaffoldsLeave the default true; one Scaffold per screen
Header under the notchNo SafeAreaWrap the body
Two app barsYour Scaffold AppBar + the widget's ownhideAppbar: true on the list widget
Login fails instantlyWrong Region, or the UID doesn't existMatch the Dashboard region exactly; use a real UID (Dashboard → Users)
Works in debug, fails in releaseObfuscation, or the settings asset not bundledTest the release build; verify the asset ships
Undefined name 'CometChatIncomingCall' (any call widget)Only the chat barrel importedAlso import …/cometchat_calls_uikit.dart (-calls)
Call buttons never appearCalls not enabled on BOTH sidesuiKit.enableCalling: true and cometchat_calls_sdk installed
Call surface opens blackCamera/mic permission missing, or a simulatorAdd usage strings/permissions; test on a real device
Incoming call never shows (calling on)No navigatorKey on the root MaterialApp — kit logs "Incoming call overlay cannot be shown"navigatorKey: CallNavigationContext.navigatorKey (-calls)
Two incoming-call screensOwn CallListener + CometChatIncomingCall on top of the kit's CallEventService overlayRemove yours — the kit presents it; customize via CallingConfiguration
Thread replies never sendparentMessageId without user:/group:Pass BOTH on the thread list and composer
Enabled extension doesn't appearExpecting v5 registrationv6 auto-surfaces it; confirm the Dashboard toggle, add NO code
Push never arrivesNo Dashboard provider, or registered before loginConfigure the provider; register after login; re-register on refresh (-push)
Previous user still gets notificationsPush token never unregistered on logoutUnregister before logout()
Presence never updatessubscribePresenceForAllUsers falseSet it true in the settings file
Messages only arrive on reopenSocket not auto-connectingchatSDK.autoEstablishSocketConnection: true
Duplicate events after hot restartListener not removed in disposePair every add with a remove (-events)
The named parameter 'x' isn't defined on a kit widgetFollowing a doc page that driftedTrust the compiler; several Flutter pages had wrong signatures — check DOCS-BACKLOG.md PART 4
Android build fails on minSdkBelow the floor (the docs' 24 is too low)minSdk = 26 — forced by cometchat_calls_sdk, a hard dependency of the kit
iOS pod install failsDeployment target too lowplatform :ios, '15.1' (13.0 through calls-sdk 5.0.6), then pod install
Everything broke after upgradingMixed majors / removed v5 APIs→ cometchat-flutter-v6-migration; never mix majors

When the docs and the compiler disagree, the compiler wins

Several ui-kit/flutter pages documented parameters that do not exist in 6.1.0 (thread header, search callbacks, style names). If a documented snippet will not compile, that is a docs bug: use the real signature, and flag the page (RULES.md §20) rather than working around it forever.

Still stuck — collect this before escalating

Kit + SDK versions from pubspec.lock · the flutter analyze output · whether init/login reached onSuccess · the exact exception + stack · platform and whether it is a real device · the relevant Dashboard toggles. Most escalations are resolved by the first three.

Verify it works

The specific symptom is gone, flutter analyze is clean, and the fix was to the HOST's wiring (gating, container, imports, config) — if the answer looked like "patch around the kit", re-check the table.

Часто задаваемые вопросы

Что делает навык ИИ Cometchat Flutter V6 Troubleshooting?

Diagnose a broken CometChat Flutter integration — blank screens, unbounded-height crashes, lists that don't fill, login and Region failures, calls that never ring, push that never arrives, and v5 leftovers. Symptom → cause → fix. Triggers: 'cometchat not working flutter', 'blank chat screen', 'RenderFlex unbounded height', 'login failed cometchat', 'calls not ringing', 'push not arriving'.

Зачем использовать Cometchat Flutter V6 Troubleshooting в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Cometchat Flutter V6 Troubleshooting — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Cometchat Flutter V6 Troubleshooting в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-flutter-v6-troubleshooting. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Cometchat Flutter V6 Troubleshooting?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Cometchat Flutter V6 Troubleshooting?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Cometchat Flutter V6 Troubleshooting: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Cometchat Flutter V6 Troubleshooting?

Да. Навык опубликован на GitHub автором cometchat по лицензии MIT. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇