react-native-user-inactivity
react-native-user-inactivity copied to clipboard
Timer doesnot get inactive once started? How to do it
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.
setActive(true) resets the timer