Get device token beta
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Get device token beta
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Gets a token that uniquely identifies the current device as a recipient for push notifications for this app.
Requires push notification permissions to have been requested by the app and granted by the user.
Input arguments
No input arguments.
Output arguments
Number of outputs: 2
Label | Key | Type | Description |
---|---|---|---|
Device token | token |
String | Token identifying this unique device as a recipient for push notifications. |
Events
No events.
Errors
Label | Code | Description |
---|---|---|
Unknown error | unknown |
Thrown if the device token could not be retreived. |
Was this article helpful?