Closed smaroudasunicorn closed 7 months ago
Acceptance criteria:
Following the design provided implement the initial secure login screen (2 states depending on whether user has device authentication enabled or not).
Implement Secure login tab on the Superhero wallet settings page. Tab has 2 states (on/off) depending on whether secure login is enabled or not. The tab opens the Secure login settings page if the user has secure authentication enabled on the device. If not the tab opens Secure login screen (see the design for case B below).
Implement Secure login page in the Superhero wallet settings. The use should be able to enable/disable the feature. The user should be able to set lock time after which the wallet is locked. If the secure login feature is disabled the Lock time block is also disabled. See design for reference.
Lock screen.
Authentication failed screen.
Design:
1. Initial Secure login screen.
Case A: Device doesn't have security authentication enabled. The user is asked whether they would like to enable it for the mobile device first. Button leads to device settings.
Case B: Device has security authentication enabled. The user is asked whether to enable it for the wallet.
2. Superhero wallet settings:
User flow recording:
I am ok with the proposal. A minor comment is that I propose to add a description in settings page for Auto lock.
"The wallet is locked for further actions after configured time interval. User has to unlock the screen in order to proceed to further actions."
Ok. We can add the description but I suggest:
"Superhero wallet will be locked after the preset time interval of inactivity. You will be asked to authenticate in order to unlock the screen and continue using the wallet."
We should not use "the user" directly in the UI wording. We have always addressed the user personally (like "you", "your wallet" etc.)
Design:
I am ok. thanks
@onvisions I have a question: is this screen should look like this? I saw it a little different on the record. Or it depends on the device?
@onvisions I have a question: is this screen should look like this? I saw it a little different on the record. Or it depends on the device?
The bottom part depends on the device
@Liubov-crypto The feature relies on the native authentication method available on the device. And uses device OS UI for the authentication part.
On the screenshot provided we don't provide the layout nor the styling or even the icon but as far as I got we can modify the text strings like "Authenticate to access your wallet".
I found an issue: if I'm enable secure login immediately after login or new wallet creation and then try to enter my pin code it will not work. I will be not able to enter my wallet. The same behaviour if I'm set security login in Settings with option - immediately. If I will choose other options it will work.
@martinkaintas please check it.
Finally it's working for me with immediately option :) LGTM