GCM响应结果包含的项目多于请求registration_ids

时间:2015-09-29 08:28:26

标签: google-cloud-messaging

我们将此类有效负载发送到GCM服务器

{"data":{"title":"Unlimited Music Ringtones for 24hrs!","p":"5;"},"registration_ids":["APA91bF2U2KaLF173wyqUWfyxKw_xJI4fW22MKRUuoG3E6uubO-a4F9_SS0byscd5YwbbQZsgCsuxmI_IYINZOGRonMH64hZrhDqeqa0a5ixrnhPvcLGGIrIm-J624TCwZFtVktPypyr"],"time_to_live":43200}

但作为回应,我们得到了9个结果项

{"multicast_id":6634278235585666161,"success":1,"failure":8,"canonical_ids":0,"results":[{"error":"NotRegistered"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"message_id":"0:1443085201594600%341e1321f9fd7ecd"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"error":"NotRegistered"}]}

不时复制的问题。这是未定义的行为?如何确定它对应于register_id的响应? 附:我们使用持久连接

0 个答案:

没有答案