What problem does it solve?
Real-time presence tracking across PubNub channels enables reliable online/offline indicators, accurate occupancy counts, and robust connection state management across devices.
Core Features & Use Cases
- Enable Presence in the Admin Portal to activate presence tracking for selected channels
- Subscribe with presence to receive join, leave, timeout, and state-change events
- Track occupancy using hereNow and event-driven updates for scalable UIs
- Manage per-user presence state and synchronize multi-device sessions
- Handle disconnects gracefully and support automatic reconnection
- Use cases include chat rooms, collaboration spaces, gaming lobbies, and live dashboards
Quick Start
Subscribe to a channel with presence enabled and set up a presence listener to track events and fetch initial occupancy with hereNow.