Open vitorhorta opened 8 years ago
I just finished adding initial support for device group messaging in f1b3161ba8e121680b59d220b904bf19ba90abdc. I would appreciate it if you could test it out and provide any feedback or issues you may encounter.
I've just checked the code and it looks great! I couldn't test it yet but I'll do it soon (probably tomorrow) and give you a better feedback.
It's working great, thanks for the enhancement. I only have few questions.
1- Are you implementing the send method for group operations? 2- Shouldn't we make the SENDER_ID an attribute of the Sender class? 3- GCM sometimes returns 200 but the operation is not fully successful. For example, when we try to create a group that already exists we get a HTTP 200 code and a message: ''{"error":"notification_key already exists"}'". There are similar cases like this one. Should we catch these "errors" ?
Please let me know if you need any help with these improvements!
send
method needs to parse either possible response or there needs to be a separate send method.
Hi! First of all, thanks for the great package.
I would like to know if you are planning to support registering and sending messages to GCM Group.
As you can see here: https://developers.google.com/cloud-messaging/notifications to support Group messages we need to be able to: