2013-05-10 75 views
0

我在谷歌雲消息傳遞中使用谷歌註冊編號爲例,但我不明白如何生成此編號。什麼谷歌註冊編號是

是它的鏈接到谷歌播放帳戶或移動?

的爲例做了使用相同的谷歌Play帳戶將具有相同的註冊ID

如果用戶使用兩個谷歌Play帳戶兩種不同的手機,並註冊ID將取決於谷歌玩會嗎?

感謝您的幫助

回答

1

一個GCM註冊ID是唯一到Android登錄&設備。如果用戶使用相同的登錄名登錄2臺設備,則它們將具有不同的GCM ID。從這個link

An ID issued by the GCM servers to the Android application that allows it to receive messages. Once the Android application has the registration ID, it sends it to the 3rd-party application server, which uses it to identify each device that has registered to receive messages for a given Android application. In other words, a registration ID is tied to a particular Android application running on a particular device.

+0

謝謝您的回答中發現以下 – Ajouve 2013-05-11 08:13:21