The DOSS app delivers two distinct types of notifications: app-level DOSS notifications and government alert notifications. Each has its own screen, endpoint, and read-state management.
Unread alerts are shown with a red background (redRGB); read alerts use a white background. The icon also changes: unread alerts display AlertAware, read alerts display AlertGovt.
Incoming push notifications use the doss:// custom URL scheme for deep linking. The notification payload routes to one of the following screens based on the notification type:
Deep link target
Screen
DOSS notification
DOSS_NOTIFICATIONS
Government alert
ALERT_NOTIFICATIONS
Both notification screens support pull-to-refresh. Pull down to manually reload the notification list.
Both notification screens override the back navigation to reset the stack to MAIN_STACK, ensuring you always return to the main app shell rather than an intermediate route.