Skip to content

Commit 99a60de

Browse files
authored
Update README.md with linking needed for RN < 0.60
As the project is supporting RN >= 0.60, [linking is automatically done](https://facebook.github.io/react-native/blog/2019/07/03/version-60#native-modules-are-now-autolinked).
1 parent 6604f44 commit 99a60de

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,24 @@ Samsung and MeiZu's Fingerprint SDK supports most devices which system versions
3636

3737
## Installation
3838

39-
`$ npm install react-native-fingerprint-scanner --save`
39+
```sh
40+
$ npm install react-native-fingerprint-scanner --save
41+
```
42+
or
43+
```sh
44+
$ yarn add react-native-fingerprint-scanner
45+
```
4046

4147
### Automatic Configuration
48+
For RN >= 0.60
49+
```sh
50+
$ cd ios && pod install
51+
```
4252

43-
`$ react-native link react-native-fingerprint-scanner`
53+
For RN < 0.60, use react-native link to add the library to your project:
54+
```sh
55+
$ react-native link react-native-fingerprint-scanner
56+
```
4457

4558
### Manual Configuration
4659

0 commit comments

Comments
 (0)