react-native-user-inactivity icon indicating copy to clipboard operation
react-native-user-inactivity copied to clipboard

Timer doesnot get inactive once started? How to do it

Open amritaGupta-Qvt opened this issue 3 years ago • 1 comments

I am implementing two-factor authentication in my application, I want users to log out after 10 mins when 2FA is disabled When 2FA gets enabled, the timer should restart or get inactive.

amritaGupta-Qvt avatar Jul 04 '21 19:07 amritaGupta-Qvt

setActive(true) resets the timer

s-z-s avatar Jul 14 '21 05:07 s-z-s