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

Delay bio auth #642

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Delay bio auth #642

wants to merge 3 commits into from

Conversation

dsvf
Copy link
Contributor

@dsvf dsvf commented Nov 23, 2024

I find it difficult when switching between Server Box and other apps that the fingerprint auth activates immediately.

I implemented a delay, if switching away from Server Box and back to it within 10 seconds, then there is no auth request. I also added a setting under App/Android Setting and App/iOS Settings to enable and disable this behavior.

The Strings in the settings widget are hardcoded english since I did not want to add a second pull request to lppcg/fl_lib
Also, the 10 seconds are hardcoded and the "10" value in the settings subtitle is not synchronized with the delay in home.dart, since I'm not sure where and how you like to store a global constant in your project.

You are welcome to consider including this PR into the app.

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

Successfully merging this pull request may close these issues.

1 participant