So PushNotifications (Simple Push?) are only for apps & applications,
NOT for websites. Websites wanting to utilize Simple Push are required
to build one app for each mobile OS under the sun, and one application
for every desktop OS under the sun.
As for Desktop Notifications (mozNotifications), you need to already be
somehow connected to the website/webservice to see them. You either need
to have an app
The two cannot be combined, if the website hasn't built dedicated apps &
applications (which few can for every OS under the sun, and even fewer
will manage to get their users to install them)! That's the tragedy!
What could have been a perfect, open system for me to receive
notifications from the 150 different websites I use, will end up being a
system that only windows and b2g users can use, and for only aroud 10 of
the sites I use, at most.
My original message in this thread was very to the point and correct: it
said "There's something in SimplePush I don't like" and I meant "in
comparison to the push system Mozilla was considering before SimplePush
came around", and I was right.
On 03/30/2013 01:34 AM, Guillermo López wrote:
2013/3/29 Alexander Karelas <[email protected]
<mailto:[email protected]>>
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.
I think you are mixing PushNotifications and Desktop Notifications here
In your example, you will be using Desktop Notifications [1], and that
will show a "bubble" (depends on the OS). PushNotification will be
used to send new data (version number) from your server to a webapp
(right now, as Doug says) and then the app will decide what to do:
connect to its server to retrieve data, show a Desktop Notification
saying: "Hey! There are new data, click here to retrieve it!", or even
do nothing.
Cheers,
[1] https://developer.mozilla.org/en-US/docs/DOM/navigator.mozNotification
--
Guillermo López [willyaranda]
http://mozilla-hispano.org
http://twitter.com/mozilla_hispano
http://facebook.com/mozillahispano
Certified Mozillian: https://mozillians.org/willyaranda
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g