idle-js
idle-js copied to clipboard
Working Fine in Desktop , but not in Mobile Devices
Hi all!,
I tried to check the idle timer in my webapp , it is working in Desktop but when i try to access the same in the mobile devices , the idle timer is not working as expected. Steps:
- Log in to my web App in my mobile (Chrome Browser)
- Push it to Background app
- Lock my mobile device
- Come back after 15 mins to check , if i see a modal about User Inactive.
- Result: I could not see any dialog box. Is the timer is working ?.. Can u please help me
Any hint? ...or its just a bug?
Maybe it could worked around by storing the time before the mobile browser tab becomes inactive and checking how much time was spent inactive once the tab becomes active.
Many thanks!