Recall & Review
beginner
What is a local notification in mobile apps?
A local notification is a message sent by the app itself to the user’s device without needing a server. It appears as an alert, sound, or badge to notify the user about something important.
Click to reveal answer
beginner
Which Flutter package is commonly used to show local notifications?
The flutter_local_notifications package is commonly used to create and display local notifications in Flutter apps.
Click to reveal answer
intermediate
What permission is usually required to show notifications on Android and iOS?
On Android 13 (API 33) and above, the POST_NOTIFICATIONS permission is required. On iOS, the app must request user permission to show notifications.
Click to reveal answer
intermediate
How do you schedule a notification to appear later in Flutter?
You use the flutter_local_notifications plugin’s schedule method, specifying the time when the notification should appear.
Click to reveal answer
intermediate
Why is it important to handle notification taps in your app?
Handling notification taps lets your app respond when the user clicks the notification, such as opening a specific screen or performing an action, improving user experience.
Click to reveal answer
Which Flutter package helps you show local notifications?
✗ Incorrect
flutter_local_notifications is the package designed for local notifications.
What must an iOS app do before showing notifications?
✗ Incorrect
iOS requires apps to ask the user for permission to show notifications.
What is a local notification?
✗ Incorrect
Local notifications come from the app on the device, not from a server.
How do you make a notification appear at a specific time in Flutter?
✗ Incorrect
Scheduling notifications uses the schedule method from the notifications plugin.
Why handle notification taps in your app?
✗ Incorrect
Handling taps lets the app respond meaningfully when the user clicks a notification.
Explain how to set up and show a simple local notification in Flutter.
Think about the steps from adding the package to displaying a notification.
You got /4 concepts.
Describe the differences in notification permissions between Android and iOS.
Consider what the user must allow on each platform.
You got /4 concepts.