Contact emails
Spec
"A notification has an associated silent preference flag which is initially unset. When set indicates that no sound should be made."
Summary
The "silent" flag as part of Notification options, which allows authors to indicate that no sound, vibrations or visual indicators (light indicator) should be made when the notification is being shown. For example:
serviceWorkerRegistration.showNotification('Title', {
body: 'This is not important',
silent: true
});
Compatibility Risk
Low, but we are the first to implement this. The flag, once set, is not exposed to Web developers anymore.
Ongoing technical constraints
None. The following two patches contain the implementation:
Will this feature be supported on all five Blink platforms (Windows, Mac, Linux, Chrome OS and Android)?
Yes, but only the Android implementation makes noise right now.
In the future, when we start supporting the "sound" and/or "vibrate" options of notifications, these will of course respect the "silent" flag on all platforms.
OWP launch tracking bug?
None. This is a very trivial addition.
Requesting approval to ship?
Yes.