Closed
Bug 1169452
Opened 10 years ago
Closed 9 years ago
feature request: support updatable (ongoing) notifications
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S14 (12june)
People
(Reporter: bwalker, Assigned: mikehenrty)
References
Details
(Whiteboard: [dependency: marketplace-partners])
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.
Reporter | ||
Updated•10 years ago
|
Whiteboard: [dependency: marketplace-partners]
Assignee | ||
Comment 1•10 years ago
|
||
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
Comment 2•10 years ago
|
||
Hamzata,
See comment 1 for Mike's suggestion; the "silent" flag for the notifications API seems to be the solution here.
Thanks,
Didem
Flags: needinfo?(hdiallo)
Comment 3•10 years ago
|
||
Hi Michael, Didem,
That is great. But my understanding is that this wasn't implemented yet, is it?
Thanks,
Hamzata
Flags: needinfo?(hdiallo)
Assignee | ||
Comment 4•10 years ago
|
||
(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
Comment 5•10 years ago
|
||
That sounds great!
Assignee | ||
Comment 6•10 years ago
|
||
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?
Flags: needinfo?(hdiallo)
Comment 7•10 years ago
|
||
Yes, that's correct. Let's use that flag then.
Assignee | ||
Comment 8•9 years ago
|
||
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.
Assignee | ||
Comment 9•9 years ago
|
||
fixed with https://github.com/mikehenrty/gaia/commit/a23f18127f01aec633bda7bea3e62d0bc9b67dba which is being rolled into bug 1169426.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(hdiallo)
Resolution: --- → FIXED
Updated•9 years ago
|
Target Milestone: --- → 2.2 S14 (12june)
Reporter | ||
Comment 10•9 years ago
|
||
(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.
Description
•