docs: updated installation to handle npm and yarn2

This commit is contained in:
Philip Su
2023-01-18 11:16:19 -08:00
parent f38262d94f
commit 6d2d7bbc2d
+12 -1
View File
@@ -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`