How to delete a Google Cloud Messaging device group? -


how delete gcm device group?

is there rest endpoint this?

i have looked here there doesn't seem way rid of complete device group.

i don't have notification_key device group, notification_key_name.

i have checked google documentation , there no explanation yet on how delete entire device group. best way can remove devices existing group. found solution doesn't require notification_key. requires keys like: operation set remove, id_token set idtoken, notification_key_name , registration_ids.

see sample code below:

//http request jsonobject data = new jsonobject(); data.put("operation", "remove"); data.put("notification_key_name", useremail); data.put("registration_ids", new jsonarray(arrays.aslist(registrationid))); data.put("id_token", idtoken); 

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -