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:
parent
2087d0a150
commit
efb1fc7723
@ -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` doesn’t work properly with the tvOS target so we need to add the library manually.
|
||||||
|
|
||||||
`react-native link` doesn’t 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:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user