In GCM Advanced Topics, under the heading Why you should rarely unregister, there are two assertions concerning registration that appear to be in conflict.
First:
"A regID maps an app to a device. It isn't associated with a particular logged in user."
I take it that the mapping is a one-to-one correspondence (or should be).
Second:
"Your app server should maintain a mapping between the current user and the regID."
However, the first statement asserts no such association. (Presumably the "current user" is "logged in" with the app server, but the documentation does not specify this.)
My question is whether the documentation should be amended as follows:
GCM maintains a mapping from regIDs to a device. [The term "mapping" most likely means functional relation, but this is not specified.]
GCM does not maintain a mapping from regIDs to the current user.
- There is assumed to be a one-to-one correspondence between the current user and the regID.
- Your (3rd party) application server should maintain a mapping between the current user and the regID.
How do developers interpret the first and second statements?