# 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** | | | **Triggered by** | | | **Additional Documentation** | | | **Possible errors** | *None* | | **Logical test cases** | | --- ## Flow | # | Description | Next | |---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------| | **1** | **PRIMARY SCENARIO** | | | **1.1** | **System displays screen 'Notifications'** | | | 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** | | | 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?'** | | | 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.