The spec (https://wiki.mozilla.org/WebAPI/SimplePush) doesn't define how the
app requests details from the AppServer about the empty notification it just
received. See below for proof, an excerpt from the wiki page mentioned above:
"This causes the App to refresh it's messages (again using XHR or some
other
medium out of the scope of this protocol), and User gets a screen full of
adorable kittens."
If that's so, then there's no way to make a generic SimplePush application that
sits and waits on the tray, and handles all apps. Because it won't know how to
contact the AppServer to get the notification's details (such as "who wrote the
incoming email").
That's bad.
Also, another thing:
Here https://bugzilla.mozilla.org/show_bug.cgi?id=776501#c4 it says that the
Push Notifications API has been replaced by SimplePush API. However here
https://developer.mozilla.org/en-US/docs/WebAPI/Doc_status SimplePush is not
even mentioned. Does someone have to be notified to update the second page?
Thanks,
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g