0

I have a gcm topic which have 2 million users .Can some one please suggest a way to know the number of successful deliveries for a particular message ,other than the way client acknowledges the same? I need a server side option to know the number of succesful deliveries for gcm topic messages.

Currently when I send the following post request

https://gcm-http.googleapis.com/gcm/send
Content-Type:application/json
Authorization:key=AIzaSyZ-1u...0GBYzPu7Udno5aA

{
  "to": "/topics/foo-bar",
  "data": {
    "message": "This is a GCM Topic Message!",
   }
}

I am able to get only the following response:

{ "message_id": "10" }

Cœur
  • 37,241
  • 25
  • 195
  • 267
Don Jose
  • 1,448
  • 2
  • 13
  • 27
  • Try adding [`delivery_receipt_requested`:true](https://developers.google.com/cloud-messaging/ccs#receipts), to enable a device that confirms it received a particular message. – Mr.Rebot Jan 06 '18 at 15:43
  • Possible duplicate of [How to check statistics for messages sent to topics via FCM?](https://stackoverflow.com/questions/39386727/how-to-check-statistics-for-messages-sent-to-topics-via-fcm) – AL. Jan 07 '18 at 12:23
  • @Mr.Rebot is this applicable for gcm topics – Don Jose Jan 08 '18 at 07:21

0 Answers0