No, you are not correct in saying that SimplePush is only designed for
desktop applications.

The current implementations use system messages [0], and those happen to
only be in B2G applications.  But we are working on how to express
system messages on Firefox desktop, android, and of course the b2g browser.

I would urge you to read the wiki completely, look over at our simple
development server [1], and look at a really simple test application [2].

[0]
https://groups.google.com/group/mozilla.dev.webapi/browse_thread/thread/a3c6e4c31d04b663
[1] https://github.com/dougt/go-push-server
[2] https://github.com/dougt/simplepush-test-app

I am sure that reviewing all of this material will help you better
understand what we are doing.  Also, if you have more specific
questions, please join us on the #push irc channel.

I hope this helps,
Doug

On 3/29/13 3:15 PM, Alexander Karelas wrote:
> 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

Reply via email to