Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rayan1810 committed Oct 9, 2024
1 parent 5cfe877 commit 3522cfb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,26 @@ Adds polyfill for localstorage using async storage
npm install react-native-localstorage-polyfill
```

### Install peer dependencies

```sh
npm install @react-native-async-storage/async-storage
```

### Linking

#### React Native 0.60 and above

```sh
npx pod-install
```

#### React Native 0.59 and below

```sh
react-native link @react-native-async-storage/async-storage
```

## Usage

Simply import react-native-localstorage-polyfill in the root of your app
Expand Down

0 comments on commit 3522cfb

Please sign in to comment.