Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Separating library versions depending on RN version
  • Loading branch information
Raúl Gómez Acuña authored Oct 30, 2017
1 parent 7d2c226 commit bd7222f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,17 @@ This library aims to gather a variety of modules that follow React and redux bes
- Typed with Flow

## Installation

### RN > v0.47
```
$ yarn add react-native-offline
```

### RN <= v0.47
```
$ yarn add [email protected]
```

#### Android
This library uses `NetInfo` module from React Native underneath the hood. To request network info in Android an extra step is required, so you should add the following line to your app's `AndroidManifest.xml` as well:

Expand Down

0 comments on commit bd7222f

Please sign in to comment.