Live updates

We have successfully implemented live updates on our scheduler controlling jobs assigned to field workers, all working great. However we would like to live update the connected apps initiated at the server end (not initiated by the scheduler) when a worker completes a job through an iPhone app we have. Is there anyway to do this through a http send to the node server, and if so what is the format?

You can try to use iOs version of Faye library github.com/m1entus/MZFayeClient and send data package to “/broadcast” channel.

or

It must be relative easy to add one more HTTP handler to the faye server, which will submit data to the “/broadcast” channel when external app makes HTTP POST on the specified URL.

1 Like