Re: Push API - PushRegistration and lifetime

On 22 October 2014 22:19, Shijun Sun <shijuns@microsoft.com> wrote:
> Thanks Martin.  It'd be very helpful if PushRegistration can have a read-only attribute for ExpirationTime or something like that.  Webapps can be more proactive if the ExpirationTime is set.


I was thinking that this was a protocol concern primarily and that the
UA would be the best place to be proactive.  As Costin points out, if
we get individual apps being proactive, they won't know about whether
the radio is on, and they won't coordinate properly.  I think that I'd
prefer to have the UA consume any expiration information and not
expose it in the API.

Received on Friday, 24 October 2014 01:52:49 UTC