react-native-idle-timer

A cross-platform bridge that allows you to enable and disable the screen idle timer in your React Native app

use-idle-timer

A React hook to handle user inactivity and display a warning before logging out.