Get Firebase device token (beta)
Gets a Firebase push token that can be sent to a backend for sending Firebase push messages to this device.
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.
Last modified 4mo ago
Export as PDF
Copy link