Ok, so am I right to say that SimplePush has been designed for
applications only, and not for simple websites for desktop browsers?
So if a simple website, such as Github.com, wants to display its
notifications on the user's desktop (like it already does on Mac OS X's
notification center), it'll need to create a desktop app for Linux,
another for Windows, and so on.
Furthermore, the end-user will have to forget what Mac users enjoy,
which is a centralized area containing all the notifications they have
received.
Great.
On 03/25/2013 05:19 PM, Anne van Kesteren wrote:
On Mon, Mar 25, 2013 at 2:48 PM, Alexander Karelas
<[email protected]> wrote:
Take the "github" website for example. It's got notifications, but no native
client (at least not for Linux). How will I know that a new notification is
worth clicking on if I don't see the subject line?
A push notification does not display a notification to the user as
Doug explained. A push notification simply launches the application
(perhaps in the background) and dispatches an event and then the
application can decide if it wants to show something to the end-user,
e.g. by using the Notifications API
http://notifications.spec.whatwg.org/ which is completely orthogonal
to Simple Push.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g