No Description
wusuopu 6adee4f6b7 upgrade to RN 0.38 8 years ago
Demo upgrade to RN 0.38 8 years ago
android update demo 8 years ago
ios add Demo 8 years ago
.gitignore create project 8 years ago
.npmignore add Demo 8 years ago
README.md add README.md 8 years ago
index.js create project 8 years ago
package.json create project 8 years ago

README.md

react-native-idle

Prevent screen to sleep in ReactNative app.

Install

npm install react-native-idle --save
react-native link react-native-idle

Usage

import RNIdle from 'react-native-idle'

RNIdle.disableIdleTimer()
RNIdle.enableIdleTimer()