From ee6a344dafe873d03efe7814566546e1d32f3c9d Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 12 Nov 2023 19:03:39 -0700 Subject: [PATCH] doc: add a guess for the states of the notifications --- web-push.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/web-push.md b/web-push.md index 1869d95..2ca35cd 100644 --- a/web-push.md +++ b/web-push.md @@ -390,3 +390,13 @@ While notifications are turned on, the user can tap on the App Notifications tog - "Turn off Notifications" to fully turn them off (which means the user will need to go through the dialogs agains to turn them back on). - "Leave it On" to make no changes and dismiss the dialog. + +# NOTIFICATION STATES + +* Unpermissioned. Push server cannot send notifications to the user because it does not have permission. + This may be the same as when the user gave permission in the past but has since revoked it at the OS or browser + level, outside the app. (User can change to Permissioned when the user gives permission.) +* Permissioned. (User can change to Unpermissioned via the OS or browser settings.) + * Active. (User can change to Muted when the user mutes notifications.) + * Muted. (User can change to Active when the user toggles it.) + (Turning mute off automatically after some amount of time is not planned in version 1.)