Resolve "Add filtering to push notifications"
Closes #538 (closed)
- Gave the device an option to choose which categories will be send to that device.
- Added a category field to the message.
- Added an API to change device settings for categories and listing them.
Steps to use this feature
- Get the list of categories from the API:
- Change the categories alowed of a device via the API:
- Add a message via the admin and set the category
- Click on send. Now only the device that have the category of the message set should get the message.