this means that a lot of users of alcatel and zte at the moment won't support 
this, doesn't it?

so i'm introduccing a suggestion... we should need a compatibility API/Layer 
for enabling this support and future features, anyone agrees with this?





El Martes 5 de noviembre de 2013 17:26, Gabriele Svelto <[email protected]> 
escribió:
 
On 05/11/2013 17:07, jose llopis wrote:
> Nope, what i want is to show for example on a single notification 'x
> sent you: blabla' if its a single message then if x sends another
> message what i want to show on the alrwady shown notification a
> different message 'x sent you n messages' where n is the number of messages

The new notification API should support that kind of scenario by using 
tags. Basically whenever you send a new notification with a tag matching 
one of the existing ones the old notification will be replaced by the 
one you just sent. See here for details:

https://developer.mozilla.org/en-US/docs/WebAPI/Using_Web_Notifications#Dealing_with_repeated_notifications

This is however not supported on Firefox OS 1.0.1 and 1.1 but should be 
supported on 1.2.

  Gabriele
_______________________________________________
dev-b2g mailing list

[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to