Registers the current device to receive push notifications, and updates the logged-in user's metadata to include the push token for the current device.
Requires the user to be logged in and the app to use AppGyver Auth for authentication. The device must also be connected to the Internet.
No input arguments.
Number of outputs: 2
No output arguments.
Thrown if the push notification registration fails for an unknown reason.