wusuopu 7 anni fa
parent
commit
7104c18fb0
1 ha cambiato i file con 19 aggiunte e 0 eliminazioni
  1. 19
    0
      README.md

+ 19
- 0
README.md Vedi File

@@ -0,0 +1,19 @@
1
+# react-native-idle
2
+Prevent screen to sleep in ReactNative app.
3
+
4
+## Install
5
+
6
+```
7
+npm install react-native-idle --save
8
+react-native link react-native-idle
9
+```
10
+
11
+
12
+## Usage 
13
+
14
+```
15
+import RNIdle from 'react-native-idle'
16
+
17
+RNIdle.disableIdleTimer()
18
+RNIdle.enableIdleTimer()
19
+```