iOS: - Add notification categories with action buttons (complete, view, cancel, etc.) - Handle notification actions in AppDelegate with API calls - Add navigation to specific task from notification tap - Register UNNotificationCategory for each task state Android: - Add NotificationActionReceiver BroadcastReceiver for handling actions - Update MyFirebaseMessagingService to show action buttons - Add deep link handling in MainActivity for task navigation - Register receiver in AndroidManifest.xml Shared: - Add navigateToTaskId parameter to App for cross-platform navigation - Add notification observers in MainTabView/AllTasksView for refresh 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
465 B
Swift
12 lines
465 B
Swift
import Foundation
|
|
|
|
extension Notification.Name {
|
|
// Navigation notifications from push notification actions
|
|
static let navigateToTask = Notification.Name("navigateToTask")
|
|
static let navigateToEditTask = Notification.Name("navigateToEditTask")
|
|
static let navigateToHome = Notification.Name("navigateToHome")
|
|
|
|
// Task action completion notification (for UI refresh)
|
|
static let taskActionCompleted = Notification.Name("taskActionCompleted")
|
|
}
|