Checks if the user has enabled notification permissions for the current app.
If notifications can be received, the first output is triggered. On iOS, the Notification permissions object additionally includes information on if the user has enabled badges/alert banners/sounds for the notifications.
If the user has not given permission to receive notifications, or has revoked the permissions, the second output is triggered.
No input arguments.
Number of outputs: 2
Object describing what notification permissions have been granted for the current app.
Has the user granted permission to the app to receive notifications?
iOS-only. Has the user allowed banner alerts to be shown for notifications?
iOS-only. Has the user allowed notifications to display a badge next to the app icon?
iOS-only. Has the user allowed notifications to play a sound?