Hide message notification content by default when the app is locked#6902
Hide message notification content by default when the app is locked#6902bxdxnn wants to merge 2 commits into
Conversation
|
Thank you for your contribution! Here are a few things to check in the PR to ensure it's reviewed as quickly as possible:
|
|
@mxandreas another PR to check once you're back 😅 . We were also discussing this behaviour earlier and a valid point was whether we want to link the 2 options and only have this hiding of notification content option available if there's a PIN code, or if it should always be present (disabled by default) and the user can change it at any time. |
I am curious about the use cases or real life situations for this one. I understand the phone is unlocked (otherwise one could hide content in notifications, right), then a new message arrives and then you would not want its content to be shown? A few examples would be appreciated. |
|
I think when this was asked before it was for the case where you have notifications as heads up (so, displaying above everything else even if you don't open the notification drawer) and someone is looking at your phone/recording it somehow. So you want to know there is new content in the app, you just don't want to display the content unless you unlock the app. |
I understand that this can theoretically happen - you show your phone to someone and because of bad timing some sensitive message appears but for me this is an edge case. So, unless there is a very clear scenario in which it happens regularly and there is no workaround, I'd not spend time on it. |

Content
New setting (enabled by default, not shown when the app PIN code is not setup) that makes the app use the fallback notification (the "You have (count) new messages" notification) when the app is closed (i.e. locked).
Motivation and context
ATM you can still read and reply from the notifications on new messages even when the app is locked, which almost defeats the entire purpose of having an app PIN lock.
Screenshots / GIFs
Tests
Setup the "Screen lock" PIN code
Tested devices
Checklist