Request notification permissions
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Request notification permissions
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Shows a native dialogue to the user, asking them to give the current app permissions to receive notifications (both local and remote).
If requesting the permissions was successful and they were granted, the first output is triggered.
If requesting the permissions was unsuccessful or they were not granted by the user, the second output is triggered.
Input arguments
No input arguments.
Output arguments
Number of outputs: 2
Label | Key | Type | Description |
---|---|---|---|
Permissions granted? | granted |
Boolean | If true, the user successfully granted permissions to the app to receive notifications, or the permissions were granted already. |
Events
No events.
Errors
No errors.
Was this article helpful?