Can my server receive the acknowledgement from the GCM once the intended message is delivered to the android app?

后端 未结 2 1941
滥情空心
滥情空心 2021-02-15 14:09

I have started integrating GCM to my android application. With the help of startup tutorial I have setup the sample demo and it works fantastic. I also understood the different

相关标签:
2条回答
  • 2021-02-15 14:52

    I do not believe that it is possible to get that information from the GCM servers. This means that you will have to rely on another method of communication (as you described) between the client apps that successfully receive your message and your server.

    The response you get from the GCM servers (as you know) simply lets you know either:

    success: Number of messages that were processed without an error.
    

    or

    failure: Number of messages that could not be processed.
    

    Meaning that you can know which registration Ids were processed properly (e.g. valid values, still registered with GCM), but not whether or not the messages were successfully delivered down to the actual device.

    0 讨论(0)
  • 2021-02-15 14:55

    According to Google's GCM documentation.... this may be helpful:

    http://developer.android.com/google/gcm/ccs.html#receipts

    0 讨论(0)
提交回复
热议问题