Notification Permission Management
Android 13 (API level 33) and higher supports runtime permissions for sending non-exempt notifications from an application.
These features include, requesting, revoking, checking notification permissions as well as identifying whether or not you should show your rationale for requesting these permissions.
You can learn more about Notification Permissions on the Official Android Documentation.
Available Blueprint Nodes
The below blueprint nodes are only permission related and ideally only need to be setup once within your application.
Request Notification Permission
This blueprint node requests the android.Manifest.permission.POST_NOTIFICATIONS android notification runtime permission. The callback will inform you whether or not permission was granted.
IsPermissionGranted
A delegate producing a boolean indicating whether or not the user granted permission.
You can simply click and drag off this pin to create a custom event.
Revoke Notification Permission
This blueprint node simply asynchrnously revokes the notification runtime permission. This will take effect once the users closes your application and you will then need to request the permission again.
Should Show Permission Rationale
This blueprint node identifies whether you should show a custom UI with your rationale before actually requesting a permission.
Return Value
A boolean indicating whether or not you should show a custom UI describing why you are requesting this notification permission.
Has Notification Permission
This blueprint node returns whether or not the user currently has the notification runtime permission.
Return Value
A boolean indicating whether or not you currently have the permission to post notifications.