cometchat-android-v6-events
Installation
SKILL.md
Companion skills: cometchat-android-v6-core (init/login), cometchat-android-v6-kotlin-customization, cometchat-android-v6-compose-customization
Purpose
Subscribe to and emit CometChat events using the v6 Kotlin SharedFlow-based event bus. This replaces the v5 Java listener interface pattern with a reactive, type-safe system built on kotlinx.coroutines.flow.SharedFlow.
Use this skill when
- Listening for message sent/received/edited/deleted events
- Listening for call accepted/rejected/ended events
- Listening for user or group membership changes
- Listening for conversation updates
- Listening for UI events (custom UI position events)
- Emitting custom events to trigger UI updates
Do not use this skill when
- Setting up the SDK (use
cometchat-android-v6-core) - Working with CometChat SDK-level listeners (
CometChat.addMessageListener) — those are separate from UIKit events