flutter-notifications
Installation
SKILL.md
Flutter Notifications
Priority: P1 (OPERATIONAL)
Push and local notifications interactions.
Guidelines
- Stack: Use
firebase_messaging(Push) +flutter_local_notifications(Local/Foreground). - Lifecycle: Handle all 3 states explicitly: Foreground, Background, Terminated.
- Permissions: Prime users with a custom dialog explaining benefits before system request.
- Navigation: Validate notification payload data strictly before navigating.
- Badges: Manually clear iOS app badges when visiting relevant screens.