Get Firebase device token beta
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Get Firebase device token beta
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Gets a Firebase push token that uniquely identifies the current device as a recipient for Firebase push messages 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 |
---|---|---|---|
Firebase push 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 retrieved. |
Was this article helpful?