How do I add notifications to a chat room app?
Modified on: Tue, Aug 30, 2016 at 4:57 PM
I have a multiple-room chat application. How can users get notified on new messages posted to chat rooms that they are subscribed to?
- Global notification channel: this channel receives notification of change events such as when a new message has been posted in room ABC. This channel is an always-on global channel to which all users are connected.
- Chat room channel: this channel broadcasts the chat message text. The user subscribes to this channel when joining a chat room and unsubscribes when leaving the chat room.
Did you find it helpful?
Can you please tell us how we can improve this article?