0

我正在尝试使用推送通知制作应用程序。我正在创建不同的 gmail 帐户,但我得到相同的注册 ID 以在 Php 服务器上发送我混淆注册 ID 是移动帐户还是 gmail 帐户??

4

1 回答 1

1

它使用设备ID。每次注册新设备时,GCM都会返回注册ID,可用于向相应设备推送通知

供您参考:http: //developer.android.com/google/gcm/gs.html http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm -php 和 mysql/

于 2013-03-20T10:28:04.693 回答