From 6d2d7bbc2d7c89b82e3fc03606f1ec8c2ab2969b Mon Sep 17 00:00:00 2001 From: Philip Su <39933441+fivecar@users.noreply.github.com> Date: Wed, 18 Jan 2023 11:16:19 -0800 Subject: [PATCH] docs: updated installation to handle npm and yarn2 --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a44918c..d6c9936 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,18 @@ The real challenge of using this method is making sure the app's UI is always up ## Getting started -`$ yarn add github:kesha-antonov/react-native-background-downloader` +```Terminal +$ yarn add github:kesha-antonov/react-native-background-downloader +``` +(or for Yarn v2+): +```Terminal +$ yarn add react-native-background-downloader@github:kesha-antonov/react-native-background-downloader +``` +or +```Terminal +npm i github:kesha-antonov/react-native-background-downloader +``` + For **`RN <= 0.57.0`** use `$ yarn add react-native-background-downloader@1.1.0`