Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App locking timeout/grace period #3754

Open
dan0xii opened this issue Mar 14, 2019 · 5 comments
Open

App locking timeout/grace period #3754

dan0xii opened this issue Mar 14, 2019 · 5 comments
Labels
enhancement feature: authentication Authentication or accounts related

Comments

@dan0xii
Copy link
Contributor

dan0xii commented Mar 14, 2019

Is your feature request related to a problem? Please describe.

When "Lock" is enabled I'd like a longer timeout/grace period before having to re-enter the PIN (or whichever credential is set). I find myself switching between the nextcloud client and another app on my phone regularly and I have to unlock it every time I re-open it.

This might be if I'm downloading or re-arranging photos in folders within nextcloud and I then switch back to my external gallery app to view the changes. I'll have to keep re-entering the PIN when I go back to nextcloud.

Another scenario is when I'm moving data within nextcloud and because it can be really slow I'll switch to another app momentarily whilst waiting.

Describe the solution you'd like

Either a) a longer timeout before the app asks you to re-enter your PIN or b) the option presented to the user to choose from a preset list (1 minute, 5 minutes, 15 minutes) with the default set to whatever it is currently.

I'd guess some form of b) will be preferable if at all because some users will worry about security more than others.

@nextcloud-android-bot
Copy link
Collaborator

GitMate.io thinks possibly related issues are #2155 (App access.), #2529 (App crash), #601 (Timeout too short), #2447 (Possibility of locking the app with fingerprint with PIN fallback), and #1664 (Personalized app).

@ardevd
Copy link
Collaborator

ardevd commented Mar 28, 2019

Sounds like a good idea to me. A user configurable lock timeout value makes sense. I'll look into it.

@tobiasKaminsky
Copy link
Member

Longer timeout is a good idea and we had this, but it caused trouble on different devices.
Please do not add a config option. Let us first try it with 30s as it was previously and see if this is sufficient.

@ardevd
Copy link
Collaborator

ardevd commented Mar 29, 2019

@tobiasKaminsky I feel 30 seconds is too much and prefer the 5 second default. why not have a user configurable setting?

@PulsarFX
Copy link

When editing a file in an external app, 5s is too short, 30s would be ok - just add a setting value for it ;-)
My usecase is to add some lines to an existing file and return to nc for upload. I don't want to unlock the app each time I return to nc.

@joshtrichards joshtrichards added the feature: authentication Authentication or accounts related label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature: authentication Authentication or accounts related
Projects
None yet
Development

No branches or pull requests

6 participants