Reputation: 5590
I'm making a timer app with RN, but after about 1 minute 50 seconds, the device's screen gets dark and prepares to sleep.
Upvotes: 2
Views: 5533
Reputation: 935
You can make use of react-native-idle-timer
see : React Native Idle Timer
Upvotes: 3