Add real engagement and background features to a Flutter app — local and push notifications, Firebase Cloud Messaging, correct handling of foreground, background and terminated states, deep-linking from a tapped notification, and periodic background tasks with WorkManager. You finish able to wire notifications end to end and run work while the app is closed.
Watch the free preview
Local vs push notifications — free to watch, no account needed.
What you'll learn
- Add engagement and background features to a Flutter app end to end
- Distinguish local from push notifications and choose the right one for a job
- Configure Firebase Cloud Messaging and obtain a device registration token
- Handle foreground, background and terminated notification states correctly
- Deep-link from a tapped notification and run periodic work with WorkManager
Syllabus
Notification Foundations
Local vs push notificationsFree preview
Scheduling and styling local notifications
Firebase Cloud Messaging
FCM setup and registration tokens
Notification messages, data messages and sending
App States and Deep-Linking
Handling foreground, background and terminated states
Deep-linking from a tapped notification
Background Work
Background tasks with WorkManager
Reliability, battery and background best practices
Lab — 10 Exercises & Solutions
Exercises 1–5
Exercises 6–10