Google Cloud Messaging for Chrome channelId unique per device? -


suppose have extension installed on 2 computers, , logged both same google account.

will chrome.pushmessaging.getchannelid return same value both computers? there way request each individual install gets own channel? cannot find information readily available anywhere.

the question asked here on stack overflow https://stackoverflow.com/questions/13235810/google-cloud-messaging-and-identity, there no answer given.

from observe, channel id unique user's account, not unique install. not sure if intended behavior or can count on being case.

i think channel id per application id , stay way. otherwise, think how complex send message to, say, 100,000 installations of app. you'd have keep file of 100,000 channel ids, , take long time invoke api 100,000 times, since channel id part of api call send message.

sorry... wrong. quote https://developer.chrome.com/apps/cloudmessaging:

"the push messaging service returns channel id client; id linked app id , user."

if server needs send messages installations of app, needs keep track of channel ids sent server applications, , send message channel ids.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -