On 2013-03-23, at 7:28 AM, Alexander Karelas <[email protected]> wrote:
> 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"). This is on purpose to keep the API and protocol as simple as possible; there is no application-defined payload, just the notification that tells your app 'hey something happened, you better check with your back-end to get more details.' What is your use case? S. _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
