From c18c3d78a320748aaf1e5b78bd266dc631bcf036 Mon Sep 17 00:00:00 2001 From: russellwheatley Date: Wed, 29 May 2024 15:23:33 +0100 Subject: [PATCH 1/2] docs(messaging, android): update authorization state limitation for notification permission --- docs/cloud-messaging/receive.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cloud-messaging/receive.md b/docs/cloud-messaging/receive.md index f614b15fc19c..3d2b5d9770ce 100644 --- a/docs/cloud-messaging/receive.md +++ b/docs/cloud-messaging/receive.md @@ -71,7 +71,7 @@ the request can be used to determine the user's overall decision: Note: On Android versions prior to 13, `authorizationStatus` returns `authorized` if the user has not disabled notifications for the app in the -operating system settings. +operating system settings. On Android >= 13 versions, there is no way to determine if the user has chosen whether to grant/deny permission. A `denied` value conveys an undetermined/denied permission state, and it will be up to you to track if a permission request has been made. The other properties on `NotificationSettings` return whether a specific permission is enabled, disabled or not supported on the current device. From 6b00625b1db60c6142a070ad8e6e26aab683b26d Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Thu, 30 May 2024 09:44:58 +0100 Subject: [PATCH 2/2] Update docs/cloud-messaging/receive.md Co-authored-by: Kevin Cheung --- docs/cloud-messaging/receive.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cloud-messaging/receive.md b/docs/cloud-messaging/receive.md index 3d2b5d9770ce..a5069954f442 100644 --- a/docs/cloud-messaging/receive.md +++ b/docs/cloud-messaging/receive.md @@ -71,7 +71,7 @@ the request can be used to determine the user's overall decision: Note: On Android versions prior to 13, `authorizationStatus` returns `authorized` if the user has not disabled notifications for the app in the -operating system settings. On Android >= 13 versions, there is no way to determine if the user has chosen whether to grant/deny permission. A `denied` value conveys an undetermined/denied permission state, and it will be up to you to track if a permission request has been made. +operating system settings. On Android versions 13 and above, there is no way to determine if the user has chosen whether to grant/deny permission. A `denied` value conveys an undetermined or denied permission state, and it will be up to you to track if a permission request has been made. The other properties on `NotificationSettings` return whether a specific permission is enabled, disabled or not supported on the current device.