Notification permission check not working on Android #5761
-
Following the documents provided, I'm using the following code snippet to check whether the user has allowed notifications from the app or not. This code runs perfectly on iOS and dynamically updates if I change my notification preferences of the app in the settings. However, on Android, it will always result in true even if the user has turned off notifications for the app.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That is because Android requires no special permissions to display a notification, as far as I know. The documents are explicit on the same:
https://rnfirebase.io/messaging/usage#ios---requesting-permissions |
Beta Was this translation helpful? Give feedback.
That is because Android requires no special permissions to display a notification, as far as I know.
The documents are explicit on the same:
https://rnfirebase.io/messaging/usage#ios---requesting-permissions