Update react-native link instructions with module name

Just calling react-native link is risky, it can cause double linking
This commit is contained in:
Hampton Maxwell 2018-07-31 11:25:17 -07:00 committed by GitHub
parent 2087d0a150
commit efb1fc7723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ yarn add react-native-video
<details> <details>
<summary>iOS</summary> <summary>iOS</summary>
Run `react-native link` to link the react-native-video library. Run `react-native link react-native-video` to link the react-native-video library.
If you would like to allow other apps to play music over your video component, add: If you would like to allow other apps to play music over your video component, add:
@ -53,9 +53,7 @@ Note: you can also use the `ignoreSilentSwitch` prop, shown below.
<details> <details>
<summary>tvOS</summary> <summary>tvOS</summary>
Run `react-native link` to link the react-native-video library. `react-native link-video` doesnt work properly with the tvOS target so we need to add the library manually.
`react-native link` doesnt work properly with the tvOS target so we need to add the library manually.
First select your project in Xcode. First select your project in Xcode.
@ -77,7 +75,7 @@ Select RCTVideo-tvOS
<details> <details>
<summary>Android</summary> <summary>Android</summary>
Run `react-native link` to link the react-native-video library. Run `react-native link react-native-video` to link the react-native-video library.
Or if you have trouble, make the following additions to the given files manually: Or if you have trouble, make the following additions to the given files manually: