Is there any way by which i can send message to a particular user of a channel? There are methods by which i can publish the messages to all the subscribers of a channel but i do not see any method to publish message to specific user of a channel.
There's no way to send a message to a specific subscriber of a channel. However, you could create a dedicated channel for each user. And then send to that channel when you need to target that user.
Each user would subscribe to two channels:
Thanks Dara that answer really helps. I do have one more question related to node.js. What is the best way to generate UUID in node.js?
I like to use https://github.com/broofa/node-uuid
Dara can we use same UUID for PubNub instance across different applications?
Is there any way by which i can unsubscribe all the GCM registeration ids from a single channel in regards of mobile push gateway?