notifications icon indicating copy to clipboard operation
notifications copied to clipboard

Decreased visibility for sensitive notifications

Open beverloo opened this issue 10 years ago • 7 comments

Some mobile platforms show notifications on their lock-screen (prior to the user logging in), which is great for a quick peek about what's going on, but not so great for notifications that contain rather sensitive content. In these cases, an implementation could decide to display a more generic/anonymized version instead.

How about adding a sensitive (boolean) option, defaulting to false?

@jakearchibald

beverloo avatar Jul 10 '15 11:07 beverloo

What do you mean by logging in?

annevk avatar Jul 11 '15 19:07 annevk

Entering one's security code to gain access to the device.

beverloo avatar Jul 12 '15 10:07 beverloo

Ah, makes sense. Though typically this is up to the user to decide, no? Or do iOS and Android also expose this?

annevk avatar Jul 12 '15 16:07 annevk

On Android you can set visibility to public (all content visible), secret (no notification visible at all), or private (redacted visibility) which is the default. It also provides an optional way to specify what is visible for private, with a fallback to some reasonable default representation. I think we wouldn't want to expose all of that in this spec, but a simple boolean to trigger "secret" seems reasonable.

The user can set device-wide preferences as well.

mvano avatar Jan 19 '16 18:01 mvano

I guess that makes sense. "sensitive" is a little hard to type. "secret" works. @sicking?

annevk avatar Jan 19 '16 18:01 annevk

I don't work on these things any more so I can't really provide implementation feedback.

However the feature sounds sensible to me. Though sounds like we should have more than just a boolean so that you can control more than just "show vs. hide" on the lockscreen?

sicking avatar Jan 19 '16 19:01 sicking

Yes an enum would capture the Android feature set better. I'm not sure what, if anything, other platforms expose for this. It would be nice to have at least one other platform to compare and contrast with.

mvano avatar Jan 20 '16 10:01 mvano