Nessuna descrizione
yyppaag 6f4eb1c8bb
Update RNIdlePackage.java
4 anni fa
Demo upgrade to RN 0.38 8 anni fa
android Update RNIdlePackage.java 4 anni fa
ios add Demo 8 anni fa
.gitignore create project 8 anni fa
.npmignore add Demo 8 anni fa
README.md add README.md 8 anni fa
index.js create project 8 anni fa
package.json remove unused files 8 anni fa

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