Skip to content

Commit

Permalink
Merge branch 'master' into feat/add_custom_comparision_fn
Browse files Browse the repository at this point in the history
  • Loading branch information
LiquidSean committed Sep 18, 2019
2 parents 008826f + b4b1bcb commit 1ec8ef8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 645 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ $ yarn add react-native-offline
$ npm i --save react-native-offline
```

This library uses `@react-native-community/netinfo@4.x.x` version underneath the hood. You then need to link the native parts of the library for the platforms you are using. If you are on React Native v0.60, you don't need to do anything else, since it supports autolinking. For iOS, just go to the `ios` folder and run `pod install`.
This library uses `@react-native-community/netinfo@4.x.x` version underneath the hood. You then need to link the native parts of the library for the platforms you are using.

If you are on React Native v0.60, you don't need to do anything else, since it supports autolinking. For iOS, just go to the `ios` folder and run `pod install`. However, autolinking might not pick up and install the `@react-native-community/netinfo` dependency. If that happens, first install `@react-native-community/netinfo` directly, then run `pod install`, then install `react-native-offline` and finish with `pod install`.

Otherwise, the easiest way to link the library is using the CLI tool by running this command from the root of your project:

Expand Down

0 comments on commit 1ec8ef8

Please sign in to comment.