django-gcm icon indicating copy to clipboard operation
django-gcm copied to clipboard

Support for Device groups

Open salberin opened this issue 9 years ago • 3 comments

One functionality that is not currently supported by django-gcm is support for device groups. This would allow multiple devices to be registered on one notification key. Is this something that could be supported in the model of Django-gcm?

salberin avatar Feb 09 '16 14:02 salberin

@salberin Check this out. Topic messaging allows to register multiple devices to a single topic.

bogdal avatar Feb 10 '16 14:02 bogdal

@bogdal Sorry, that's not the same. Device groups allow sending messages back to the other devices in the group. This allows for clearing of notifications on other devices in the same group, for example. That is exactly the functionality i'd like to use.

salberin avatar Feb 10 '16 15:02 salberin

@salberin You can extend the Device model and add e.g. foreign key to the group.

bogdal avatar Mar 04 '16 22:03 bogdal