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

Lock timeout - how? #3

Open
fapsisu opened this issue Mar 18, 2022 · 3 comments
Open

Lock timeout - how? #3

fapsisu opened this issue Mar 18, 2022 · 3 comments

Comments

@fapsisu
Copy link

fapsisu commented Mar 18, 2022

Library has lock timeout enabling? Is it possible to somehow add such functionality myself?

@p32929
Copy link
Owner

p32929 commented Mar 18, 2022

Hello, I'm not sure what you mean by lock timeout. Can you please elaborate?

@fapsisu
Copy link
Author

fapsisu commented Mar 18, 2022

The time after which the application in the background will be blocked and you will need to enter the PIN code again.

@p32929
Copy link
Owner

p32929 commented Mar 18, 2022

Oww, I haven't implemented the feature myself, but it can be achieved by adding a timeout/timer here:

if (wentToBg && FayazSP.getString("password", null) != null) {

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

No branches or pull requests

2 participants