android - State of the art push messaging, reliably receiving background messages -


i using signalr push messages browser. i'm developing web page @ moment potentially wrapped in cordova, although prefer use standard apis if possible.

the issue see nature of mobile processes (which go sleep), browser tabs (which closed or hidden), , need ensure connection , listener live @ time message sent device.

as understand can solved using serviceworker

(see https://w3c.github.io/push-api/#extensions-to-the-serviceworkerregistration-interface)

however, it's not clear signalr client side library designed work inside service worker... seems use jquery.

has trodden path?

i'm unfamiliar signalr, article on push messaging in chrome shows how implement.


Comments