You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-7Lines changed: 31 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,44 @@ An asynchronous, unencrypted, persistent, key-value storage system for React Nat
6
6
## Getting Started
7
7
8
8
9
+
### Install
10
+
9
11
```
10
-
# Install
11
12
$ yarn add @react-native-community/async-storage
13
+
```
14
+
15
+
### Link
16
+
17
+
-**React Native 0.60+**
18
+
19
+
20
+
[CLI autolink feature](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md) links the module while building the app.
21
+
22
+
23
+
-**React Native <= 0.59**
12
24
13
-
# Link
25
+
26
+
```bash
14
27
$ react-native link @react-native-community/async-storage
15
28
```
16
29
17
-
See docs for [manual linking guide.](docs/Linking.md)
18
30
19
-
**Note:** For iOS project using `pods`, run:
20
-
```
21
-
$ cd ios/ && pod install
22
-
```
31
+
*Note* For `iOS` using `cocoapods`, run:
32
+
33
+
```bash
34
+
$ cd ios/ && pod install
35
+
```
36
+
37
+
See docs for [manual linking guide](docs/Linking.md)
38
+
39
+
### **Upgrading to React Native *0.60+***
40
+
41
+
New React Native comes with `autolinking` feature, which automatically links Native Modules in your project.
42
+
In order to get it to work, make sure you `unlink``Async Storage` first:
0 commit comments