Add option to Settings enable app protection via default biometrics/swipe/passcode/PIN + a app-managed 6 digit PIN
When user taps to enable in Settings:
if enabled
//let user enter a 6 digit PIN mananged by the app
//enter again to confirm
end
Upon app launch/resume:
if enabled
if biometrics/swipe/passcode/PIN enabled in OS
//Gate with biometrics/swipe/passcode/PIN
else
//Gate with app-managed 6-digit PIN
end
else
//Show app as usual
end
This is how it looks like on iOS:
| Settings | Set | Confirm | Upon launch/resume |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Looks like this if entry fails:
| First few times | After exceeding the number of attempts |
|---|---|
![]() |
![]() |
(screenshot should say "passcode" instead of "password")
@hboon this is to launch the app, right?
I propose that each unlock is valid for a specific length of time even after closing or swiping away - this is so if you're using WalletConnect or periodically using the wallet we don't want to keep having to unlock the app. Maybe half an hour?
Also this should be disabled for debug builds (with a flag for testing).
@hboon this is to launch the app, right?
Yes, also for "resume" if the app is running in the background
I propose that each unlock is valid for a specific length of time even after closing or swiping away - this is so if you're using WalletConnect or periodically using the wallet we don't want to keep having to unlock the app. Maybe half an hour?
Not sure if it defeats the purpose though. I guess users who want to enable this really don't like others to look at what they have in their wallets even if they can see the photos or make a phone call. Up to you as long as we don't spend too much time on it.
Also this should be disabled for debug builds (with a flag for testing).
My 2 cents: don't bother. Just don't enable it in Settings during development?
Also this should be disabled for debug builds (with a flag for testing).
My 2 cents: don't bother. Just don't enable it in Settings during development?
If it's optional then that's fine, if I can toggle it then right, no need.





