From efb1fc7723bcb31e209e206172c21272fa0c8bea Mon Sep 17 00:00:00 2001 From: Hampton Maxwell Date: Tue, 31 Jul 2018 11:25:17 -0700 Subject: [PATCH] Update react-native link instructions with module name Just calling react-native link is risky, it can cause double linking --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ed6ffae9..826bc033 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ yarn add react-native-video
iOS -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: @@ -53,9 +53,7 @@ Note: you can also use the `ignoreSilentSwitch` prop, shown below.
tvOS -Run `react-native link` to link the react-native-video library. - -`react-native link` doesn’t work properly with the tvOS target so we need to add the library manually. +`react-native link-video` doesn’t work properly with the tvOS target so we need to add the library manually. First select your project in Xcode. @@ -77,7 +75,7 @@ Select RCTVideo-tvOS
Android -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: