I have some questions about Google Cloud Messaging related to groups:
- If I remove all devices from the group, will the group also be deleted?
- When I try to add a device to a group that does not exist, I get "HTTP / 1.1 400 Bad Request" "notification_key not found". Is there any specific code for this particular error? (Therefore, I do not need to compare the string in the response body).
- When a user uninstalls an application and reinstalls it, his device will be registered twice in the group. In this case, he will receive several notifications. What is the best way to fix this behavior?
- When the token (registration_id) has expired, is it removed from the group?
- Is there any endpoint for deleting a group using its notification button?
source share