todo
This commit is contained in:
@@ -169,6 +169,10 @@ void _handleNotificationNavigation(Map<String, dynamic> data) {
|
||||
|
||||
switch (command) {
|
||||
case 'ALERT':
|
||||
// TODO(backend): include `alertType` in the push payload so we can deep-link
|
||||
// to the filtered feed via `${AppRoutes.deviceNotifications}?type=<alertType>`
|
||||
// and have NotificationsScreen pre-select `notificationsFilterProvider`.
|
||||
// Until then, land on the category picker ("all").
|
||||
appRouter.go(AppRoutes.deviceNotifications);
|
||||
default:
|
||||
debugPrint('[Notification] unhandled command: $command');
|
||||
|
||||
Reference in New Issue
Block a user