2
我正在運行sdk(extras/google/gcm/samples /)中提供的示例gcm-demo-client 並繼續收到key1 =「From GCM:you got message!」從收到的意圖, 即使我發佈不同的值。收到相同的消息
例如,當我發佈了以下機身
{
"data":{"key1":"value1","message":"this text will be seen in the notification bar!!"},
"registration_ids":["$GCM_REGISTRATION_ID"]
}
我收到與總是相同的MESSAGE_ID響應
{
"multicast_id":4767008207494821680,
"success":1,"failure":0,
"canonical_ids":1,
"results":[{"registration_id":"APA91bH7p....f1tT65n3A","message_id":"0:1343892969659984%921c249af9fd7ecd"}]
}
我是怎麼在API中錯過?我怎樣才能讓我的信息獨一無二? 感謝您的幫助 Fabrice
parvin, 非常感謝 – user1571783 2012-08-02 16:50:36