[ ] Replace the current "Local notifications" setting with just "Notifications"
[ ] Use entitlement (lol wen) to filter notifications locally
We could also just not send notifications depending on some setting associated with the device token. We just need to figure out where we would store that?
We could use the API, but then the relay would have to make a request to the API to get these settings. We really wouldn't want the push notification server to hit the api every time it needed to send a notification.
At this point we would need some kind of caching mechanism would could get out of date. This is horrendously ugly. Entitlements would make this much simpler.
We could also just not send notifications depending on some setting associated with the device token. We just need to figure out where we would store that?
We could use the API, but then the relay would have to make a request to the API to get these settings. We really wouldn't want the push notification server to hit the api every time it needed to send a notification.
At this point we would need some kind of caching mechanism would could get out of date. This is horrendously ugly. Entitlements would make this much simpler.