Is it possible to call useIdleTimer on mobile browsers when phone in standby #308
denysoleksiienko
started this conversation in
General
Replies: 2 comments 2 replies
-
The latest release candidate should solve this for you. It will be released in v5.5.0. You can test by installing the next tag |
Beta Was this translation helpful? Give feedback.
0 replies
-
@SupremeTechnopriest yes I tested the next tag const timeout = 1000 * 60 * 5 On android chrome, after promptTimeout 2 minutes, the timer stops at 0 and is not logged out. It doesn't work when I deploy to vercel. If I test with USB debugging it seems to work |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This works on PC browsers well. But on mobile browsers, when not used on the phone, the modal is not closed and the Remaining is 0:00 in the modal when back to the browser ios (safari/chrome) and android (chrome)
For example still in the browser and lock the phone, then back to the browser after 20 min
Looks like the workers stop after 5 minutes.
Beta Was this translation helpful? Give feedback.
All reactions