Hi Pete,
Thanks a lot for your prompt reply.
Yes, I am using GCM for chrome V1.
I am actually developing a google chrome packaged app as a POS for a food ordering system.
In the chrome app, I sign as one of the food providers like Pizza Hut, McDonalds etc.
To sign-in, I also send the chrome instance's channel-id along with the username and password.
From the website, the user places an order to one of the providers.
The newly created order's id is sent to chrome app through a push notification to the designated provider (using the channel-id).
But instead of sending the push notification to only the selected provider, it send push notifications to all the chrome instances.
If this is an expected behaviour, is there any workaround?
Or should I need to add another other key in the payload (along with the order's id) to allow chrome app to distinguish if this order is valid for that chrome app or not? Not a cleaner approach but would work I guess.
Thanks again for your quick reply.
Waiting for your response again :)