Add in existing "polling" style locally constructed "push" notification for current events as an available notification types in Settings > Notifications.
- Add toggle in Settings > Notifications view for this notification type
- This notification should only be available as a toggle if the user has opted into push notifications
- Use existing background polling logic and infrastructure to support constructing and pushing this notification to the user
- Don't worry about creating a new notifications center cell type or adding this to the notifications center [1] – this will only be visible as a local iOS-style device notification
Product/Design Needs:
[1] To confirm, we're ok with these notifications not displaying in the Notifications Center, correct? Also, since the existing engineering infrastructure for these are for them to be presented like a local iOS-style "push" notification, it also wouldn't make sense for us to display them in the Settings > Notifications toggle table unless the user has opted in to push notifications.
Dependencies
https://phabricator.wikimedia.org/T288688
https://phabricator.wikimedia.org/T287310
https://phabricator.wikimedia.org/T287628