Receiving notifications

Notifications sent from the server are recieved the following (simplified) way:

  • A message is published on the XMPP node which is then sent to the push service on the same server.
  • The push service will then inform the user agent (an application on the device running in the background) that a push notification has been sent.
  • The user agent will then publish the notification to the client for a user to see, waking up or turning on the client if is not running or suspended.