# Use Case 9.11 Configure Notifications
## Overview
| Aspect | Description |
|------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Summary** | The user turns push notifications on or off. When the app does not have permission to send notifications yet, the operating system asks for it. When notifications are blocked in the device settings, the app shows an alert that points the user to those settings. |
| **Goal** | Managing whether the user receives alerts about card changes, app updates and other important messages. |
| **Preconditions** | *None* |
| **Postconditions** |
- Push notifications are enabled or disabled.
- The app setting matches the notification permission granted at operating system level.
|
| **Triggered by** | - User selects 'Notifications' in [UC9.1 Show app menu](UC9.1_ShowAppMenu.md).
|
| **Additional Documentation** | - [Notifications](../notifications.md)
|
| **Possible errors** | *None* |
| **Logical test cases** | - [LTC71 Card status update notifications](../logical-test-cases.md#ltc71)
- [LTC72 Configure notifications](../logical-test-cases.md#ltc72)
- [LTC88 Notification permission is not granted](../logical-test-cases.md#ltc88)
|
---
## Flow
| # | Description | Next |
|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------|
| **1** | **PRIMARY SCENARIO** | |
| **1.1** | **System displays screen 'Notifications'**- Message: Get alerts about your cards changes, app updates, and other important messages.
- Toggle: Push notifications — Get alerts, even when you don’t open the app.
- Actions: Back
| |
| 1.1a | User toggles push notifications on | 1.2 |
| 1.1b | User toggles push notifications off
→ Push notifications are disabled | |
| 1.1c | User selects Back | Back |
| **1.2** | **System determines whether permission to send notifications was granted**1 | |
| 1.2a | Case: Permission is granted
→ Push notifications are enabled | 1.1 |
| 1.2b | Case: Permission was not requested before | 1.3 |
| 1.2c | Case: Permission is permanently denied | 2 |
| **1.3** | **Operating system asks permission to send notifications**- iOS: “NL Wallet” Would Like to Send You Push Notifications
- Android: Allow NL Wallet to send you notifications?
- Actions: Allow, Don’t allow
| |
| 1.3a | User selects Allow
→ Push notifications are enabled | 1.1 |
| 1.3b | User selects Don’t allow
→ Push notifications stay disabled | 1.1 |
| **2** | **WHEN NOTIFICATIONS ARE BLOCKED IN THE DEVICE SETTINGS** | |
| **2.1** | **System displays alert 'Change push notifications?'**- Message: To change this, go to your phone settings.
- Actions: CLOSE, OPEN SETTINGS
| |
| 2.1a | User selects CLOSE | 1.1 |
| 2.1b | User selects OPEN SETTINGS | 2.2 |
| **2.2** | **System opens the notification settings of the device and suspends the app** | |
| 2.2a | User enables notifications and returns to the app
→ Push notifications are enabled | 1.1 |
| 2.2b | User returns to the app without enabling notifications | 1.1 |
1. The operating system is only asked for permission when the user actively turns the toggle on.