Aucune description
yyppaag 6f4eb1c8bb
Update RNIdlePackage.java
il y a 4 ans
Demo upgrade to RN 0.38 il y a 8 ans
android Update RNIdlePackage.java il y a 4 ans
ios add Demo il y a 8 ans
.gitignore create project il y a 8 ans
.npmignore add Demo il y a 8 ans
README.md add README.md il y a 8 ans
index.js create project il y a 8 ans
package.json remove unused files il y a 8 ans

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()