Magidoc

registerDevice
Mutation

Register a device (either iOS or Android) for the authenticated user. If there is no authenticated user an error will be returned.

Arguments

#

device

Non-null

Response

#

Returns DeviceToken !.

Example

#