element-hq / element-meta

Shared/meta documentation and project artefacts for Element clients
70 stars 12 forks source link

[Story] Set a PIN code and enable biometric unlock #2128

Closed VolkerJunginger closed 8 months ago

VolkerJunginger commented 11 months ago

Story

As a logged in user that uses the EX app I want to set a pin code to access the app so that I can be sure that my messages cannot be accessed by other users.

General

Userflow 1: Pin code is optional

Userflow 2: Pin code is mandatory

If the phone supports biometric unlock (FaceID or fingerprint) and the user has set this up:

Dependencies

Sign-offs

Android

iOS

Scope

### Android
- [x] Implementation
### iOS
- [x] Implementation

Out of scope

pixlwave commented 11 months ago

When the user has logged into the app for the first time

To clarify, should this be shown on app launch if the user is already logged in but mandatory app lock has just been enabled on the backend, or should it only be shown as part of the login flow?

VolkerJunginger commented 11 months ago

This is shown as part of the setup. If a user logs in to the app the first time (after installing it) AND the pin code is mandatory we show this as a next step once the user is logged in (before giving access to the room list).

I hope this is clearer once we have the user-flow in the design.

manuroe commented 11 months ago

Setting a pin code can be mandatory or optional. This must be configurable though the backend.

Is it ok to do the configuration though backend later? We are not clear yet how to manage configuration from backend or MDM in EX. It could be a whole epic to decide which EX configuration we expose to the backend

VolkerJunginger commented 11 months ago

Yes, it is ok to do the configuration though backend later.

amshakal commented 11 months ago

Designs: PIN in mandatory (iOS, Android) PIN is optional (iOS, Android)