What problem does it solve?
This Skill solves the problem of building, debugging, and maintaining iOS/macOS push and local notification flows that correctly handle permissions, payloads, foreground behavior, and user interactions.
Core Features & Use Cases
- Notification authorization and status handling: Request, verify, and upgrade notification permissions (including provisional authorization) without prompting repeatedly.
- APNs and remote notification lifecycle: Register for remote notifications, capture and re-upload device tokens, and handle common delivery failures.
- Local notification scheduling and management: Create content, choose triggers (time, calendar, location), schedule requests, and remove pending/delivered notifications.
- Interactive notifications: Define categories and actions, handle action responses (including text input), and support notification grouping with thread identifiers.
- Advanced delivery scenarios: Support silent/background pushes, mutable-content for service extensions, deep-link routing on taps, rich/extended notification patterns, and badge management.
Quick Start
Use the push-notifications skill to implement local and APNs push notifications end-to-end in a SwiftUI iOS app, including permission requests, delegate handling, scheduling, and debugging delivery issues in simulator and on-device.