News for hackers. Stuff that matters.
Re:Push API – W3C Working Draft by aikah on Monday October 27, 2014 @03:59AM (#8514365)
well how do smartphones and apps deal with push notification in general? (i mean native apps)
Re:Push API – W3C Working Draft by nostrademons on Monday October 27, 2014 @04:24AM (#8514421)
The OS provides a messaging service. Applications can request differing levels of latency guarantee. The default on Android is to deliver immediately unless the device is off or sleeping, in which case it'll be queued for up to 4 weeks or until the device wakes up, whichever comes first. There is also throttling functionality, where an app that sends too many messages in a short period of time will find that its messages are only delivered when the device radio has to wake up for other non-throttled messages.
Re:Push API – W3C Working Draft by m_eiman on Monday October 27, 2014 @05:07AM (#8514496)
With iOS, Apple provides a service that event sources push their messages to, and a single TCP connection is maintained with the device regardless of the number of event sources. Google has something similar, if not identical.