We should assign interruption levels for [[ https://docs.google.com/spreadsheets/d/1RSDY7ZZ4nOzUUOnZtJvLBJ1bDjrxP5gL_22dit38LDM/edit#gid=0 | each type of notifications ]]. These are:
- passive
- active (default / pre-iOS 15 style)
- time sensitive
- critical
We should also assign a relevanceScore to notifications. This is a number between 0 and 1 and it helps the system determine what should be displayed in the notification summary. I'd suggest we use the priority tiers we've already created and convert them to this scale.
See Toni's very helpful notes on iOS 15 notification changes below for more details.
===QA Test Steps
# Confirm you are logged into an account in the app with Settings > Push notifications enabled.
# Tap your device's sleep/wake button to put it in sleep mode with the display off. Find an active notification type in our [[ https://docs.google.com/spreadsheets/d/1RSDY7ZZ4nOzUUOnZtJvLBJ1bDjrxP5gL_22dit38LDM/edit#gid=0 | mapping doc ]], and trigger that notification type for the account in step 1. Confirm your device screen lights up with that notification displayed on the lock screen.
# Tap your device's sleep/wake button to put it in sleep mode with the display off. Find a passive notification and trigger it on the same account. Confirm that your device screen does not light up, but when you wake your device and visit iOS's notification center that this notification is visible.
# Tap your device's sleep/wake button to put it in sleep mode with the display off. Find a time sensitive notification and trigger it on the same account. Confirm your device lights up displaying that notification, and that Time Sensitive is displayed in a label above the notification's title.
# Enable a [[ https://support.apple.com/en-us/HT212608 | Focus mode ]] and allow Time Sensitive notifications for that focus mode. Repeat Step 4 and confirm the time sensitive notification "breaks through" your focus mode and is displayed on your lock screen. Repeat Steps 2 and 3 and confirm the active and passive notifications do not break through your focus mode and aren't displayed on your lock screen but are displayed in iOS's notification center.
# Using that same Focus mode, disallow Time Sensitive notifications. Repeat Steps 2, 3, and 4 and confirm none of the notifications "break through" your focus mode on the lock screen. Confirm they are visible when your navigate to iOS's notification center.