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 after x minutes of inactivity #14

Open
hpoul opened this issue Aug 24, 2019 · 7 comments
Open

Auto-lock after x minutes of inactivity #14

hpoul opened this issue Aug 24, 2019 · 7 comments
Assignees
Labels
good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Milestone

Comments

@hpoul
Copy link
Collaborator

hpoul commented Aug 24, 2019

No description provided.

@hpoul hpoul self-assigned this Aug 24, 2019
@hpoul hpoul added this to To do in AuthPass MVP Aug 24, 2019
@hpoul hpoul added this to the 1.0 milestone Aug 24, 2019
@hpoul hpoul modified the milestones: 1.0, 1.1 Sep 10, 2019
@hpoul hpoul modified the milestones: 1.1, 1.2 Oct 4, 2019
@hpoul hpoul modified the milestones: 1.2, 1.5 Oct 22, 2019
@hpoul hpoul modified the milestones: 1.5, Future Mar 20, 2020
@hpoul
Copy link
Collaborator Author

hpoul commented Aug 12, 2020

for desktop, probably requires flutter/flutter#30735

@hpoul hpoul added good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed labels Sep 6, 2020
hpoul pushed a commit that referenced this issue Sep 18, 2020
* [crowdin] Update translations (%language%) %original_file_name%

* [crowdin] Update translations (Russian) app_en.arb

* [crowdin] Update translations (Russian) title.txt

* [crowdin] Update translations (Estonian) 6.png

* [crowdin] Update translations (Spanish) 6.png

* [crowdin] Update translations (German) 6.png

* [crowdin] Update translations (Finnish) 6.png

* [crowdin] Update translations (Lithuanian) 6.png

* [crowdin] Update translations (Russian) 6.png

* [crowdin] Update translations (Ukrainian) 6.png

* [crowdin] Update translations (Indonesian) 6.png

* [crowdin] Update translations (French) 7.png

* [crowdin] Update translations (Spanish) 7.png

* [crowdin] Update translations (German) 7.png

* [crowdin] Update translations (Finnish) 7.png

* [crowdin] Update translations (Lithuanian) 7.png

* [crowdin] Update translations (Russian) 7.png

* [crowdin] Update translations (Ukrainian) 7.png

* [crowdin] Update translations (Indonesian) 7.png

* [crowdin] Update translations (French) 6.png

* [crowdin] Update translations (Indonesian) full_description.txt

* [crowdin] Update translations (Indonesian) short_description.txt

* [crowdin] Update translations (Indonesian) title.txt

* [crowdin] Update translations (Indonesian) 1.png

* [crowdin] Update translations (Indonesian) 2.png

* [crowdin] Update translations (Indonesian) 3.png

* [crowdin] Update translations (Indonesian) 4.png

* [crowdin] Update translations (Indonesian) 5.png

* [crowdin] Update translations (Indonesian) app_en.arb

* [crowdin] Update translations (Estonian) 7.png

* [crowdin] Update translations (%language%) %original_file_name%
@Jaideep-C
Copy link

"Auto-lock after x minutes of inactivity" Is this issue applicable for platform-android?

@hpoul
Copy link
Collaborator Author

hpoul commented Sep 28, 2020

@Jaideep-C yep, it is for all platforms. The basic issue is that right now the password database remains open in the background as long as the OS does not kill the app.. i guess we could split this issue into two, separating desktop and mobile.. but the basic steps would be

  1. A new preferences setting for Autolock - which can be Never (ie, Off), Immediately when moved into background, after 1 minute, 5 minutes, 10 minutes.
  2. Register app life cycle listener to check for app being moved into background
  3. After the specified amount of time "lock" files
  4. Make sure when the app comes back into the foreground that all lock timers are cleared in case the user switches into to so before the timeout
  5. We would need to test this really good, both on ios and android. And make sure it does not interfere with desktop (probably only register lifecycle listeners on mobile?)

Hope this makes sense?

@Jaideep-C
Copy link

@hpoul Yah that totally made sense!
I have an idea may be this is not the optimistic one but I think we can have a physical notification as soon as the app goes to background till 'X' mins. With that physical physical notification we can reset the timer if the app comes to foreground before the completion of 'X' mins.
Please correct me if there are any limitations or anything wrong in this idea!

@hpoul
Copy link
Collaborator Author

hpoul commented Sep 28, 2020

I'm not sure if that is really necessary.. maybe as an optional add-on if someone wants a reminder.. the only useful function i could imagine is a notification like "password files will unlock in x minutes" with a [ lock mow ] button..

With that physical physical notification we can reset the timer if the app comes to foreground before the completion of 'X' mins.

Couldn't we do that anyway, no matter if there is a notification or not?

Or do you mean iOS scheduled notifications? 🤔

@gladel
Copy link

gladel commented Apr 5, 2022

Perhaps auto close all files at specified interval?

@kashvigarg
Copy link

if this isnt closed, id like to learn and contribute to this, help me out here.

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 hacktoberfest help wanted Extra attention is needed
Projects
Status: To do
AuthPass MVP
  
To do
Development

No branches or pull requests

4 participants