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

Auto lock app after user inactivity when app in foreground #2136

Closed
cvarjao opened this issue Aug 20, 2024 · 2 comments
Closed

Auto lock app after user inactivity when app in foreground #2136

cvarjao opened this issue Aug 20, 2024 · 2 comments
Assignees
Labels
good first issue Good for newcomers
Milestone

Comments

@cvarjao
Copy link
Member

cvarjao commented Aug 20, 2024

  • After x amount of time of the app open, but receiving no user input, auto-lock the app.
  • Configurable amount of idling time:
    • 1 min
    • 3 min
    • 5 min (default)
    • Never

Related Issue:

@cvarjao cvarjao added this to the 1.0.20 milestone Aug 20, 2024
@bryce-mcmath bryce-mcmath added the good first issue Good for newcomers label Sep 11, 2024
@al-rosenthal al-rosenthal self-assigned this Sep 23, 2024
@cvarjao cvarjao modified the milestones: 1.0.20, 1.0.21 Sep 24, 2024
@al-rosenthal
Copy link
Contributor

@cvarjao Should this inactivity timer reset if the app goes into the background/ foreground? or should it maintain and update the timer according to how long it was in the background.

For example:

  1. User interacts with the app, timer reset for 5 minutes
  2. User doesn't interact with app and timer runs down to 3 minutes
  3. User pushes app into the background for 2.5 minutes
  4. App is brought back to foreground and the user doesn't interact for 30 seconds
  5. 5 minute timer is hit and the user is logged out

@knguyenBC
Copy link

I think the timer should reset if thrown into the foreground but not the background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants