GCM duplicated messages

后端 未结 3 1331
自闭症患者
自闭症患者 2020-12-10 15:43

I have an app based on Google Cloud Messaging and it was working well. Now (today) all of a sudden it started having a problem we\'ve never seen before. For each message sen

3条回答
  •  长情又很酷
    2020-12-10 15:53

    We also have the same problem, and we are sure we don't send the message twice. It could be an issue related to what's explained here about "Canonical IDs": http://developer.android.com/google/gcm/adv.html

    [...] However, if a bug in the application triggers multiple registrations for the same device, it can be hard to reconcile state and you might end up with duplicate messages.

提交回复
热议问题