2
I want to implement GCM in my project, but I have some questions and I needed to take them all before doing.
Well when I log a device into the GCM server, is the id it receives unique? If I uninstall the application and install again, I can guarantee that that device is already registered, IE, it uses the id that was created only once?
I wanted the user to be able to register on one device, but when he logged on to another device having the same GCM id, so that two devices received the message together, but this is not possible certain?
From what I read in the documentation, Registration ID is unique to the Device/App pair (except for updates that it is not recommended to use the same ID). If you uninstall and install (in the same version) the ID is the same. Check out these links: http://developer.android.com/google/gcm/adv.html#reg-state e http://developer.android.com/google/gcm/gcm.html.
– Wakim