register device
This block is part of the realtime group and was last modified in core v15.0.2.
register device v15.0.2 Registers a device's notification token for a user.
In pins 7 + flow
- flow
- user
valuedefault the run's socket's user
- platform
valuerequiredios or android
- token
valuerequired - voip token
value - environment
valueproduction or sandbox
- app
value - storage
value
Out pins 3 + flow
- flow
- success
condition - device
object - error
value
An upsert by token: a token registered by another user moves to this one. platform is ios or android; environment (iOS) is production or sandbox; voip_token is the PushKit token for call rings. user defaults to the run's socket's user. Written through the registry store (default notification_devices), so notification_send sees it at once.
Version history
Introduced in v15.0.2.
v15.0.2: block added in this release.
Back to
realtime Return to the main group to view all sub-groups Back to notifications Return to the group to view all blocks within this group