From bd7222f0d67bf6fd56d7810f0b5eae364c02f1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20G=C3=B3mez=20Acu=C3=B1a?= Date: Tue, 31 Oct 2017 00:18:40 +0100 Subject: [PATCH] Update README.md Separating library versions depending on RN version --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 182cb904..9680eed5 100644 --- a/README.md +++ b/README.md @@ -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 react-native-offline@3.2.0 +``` + #### 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: