Closed Bug 1169452 Opened 8 years ago Closed 8 years ago
feature request: support updatable (ongoing) notifications
some apps want to issue a notification and then update its content by issuing additional notifications without playing additional sounds. This is not currently possible with the existing "desktopNotification" API.
Whiteboard: [dependency: marketplace-partners]
We should be able to do this with the "silent" flag for the notification API. https://developer.mozilla.org/en-US/docs/Web/API/notification/silent
Hamzata, See comment 1 for Mike's suggestion; the "silent" flag for the notifications API seems to be the solution here. Thanks, Didem
Hi Michael, Didem, That is great. But my understanding is that this wasn't implemented yet, is it? Thanks, Hamzata
(In reply to Hamzata Diallo from comment #3) > Hi Michael, Didem, > That is great. But my understanding is that this wasn't implemented yet, is > it? > > Thanks, > Hamzata Ah you're correct, it is not implemented yet. But we can specify a null sound file which will achieve the same result. This can be done as part of bug 1169426.
Assignee: nobody → mhenretty
That sounds great!
Hamzata, you mentioned in the meeting today that you wanted to also suppress vibration. The silent flag, according to spec, suppresses both sound and vibration. Is this what you want?
Yes, that's correct. Let's use that flag then.
Slight snag, in v2.1 we did not support behavioral flags like sound and vibrate. We will have to come up with a hack for this. I'm investigating this now.
fixed with https://github.com/mikehenrty/gaia/commit/a23f18127f01aec633bda7bea3e62d0bc9b67dba which is being rolled into bug 1169426.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
(In reply to Michael Henretty [:mhenretty] from comment #9) > fixed with > https://github.com/mikehenrty/gaia/commit/ > a23f18127f01aec633bda7bea3e62d0bc9b67dba which is being rolled into bug 1169426. which is in turn replaced by bug 1179243
You need to log in before you can comment on or make changes to this bug.