Added tvOS paltform support (#682)

* [tvOS] Update podspec

* [tvOS] Add tvOS target

* Update README.md

* [docs] Folder that contains pictures and content for documentation

* tvOS Readme

* [JPEG] Update image to JPEG
This commit is contained in:
Julien K
2017-07-20 19:35:58 +02:00
committed by Matt Apperson
parent 7f2cd8751a
commit b303f991ce
7 changed files with 127 additions and 1 deletions

View File

@@ -29,6 +29,30 @@ If you would like to allow other apps to play music over your video component, a
```
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` dont works properly with the tvOS target so we need to add the library manually.
First select your project in Xcode.
<img src="./docs/tvOS-step-1.jpg" width="40%">
After that, select the tvOS target of your application and select « General » tab
<img src="./docs/tvOS-step-2.jpg" width="40%">
Scroll to « Linked Frameworks and Libraries » and tap on the + button
<img src="./docs/tvOS-step-3.jpg" width="40%">
Select RCTVideo-tvOS
<img src="./docs/tvOS-step-4.jpg" width="40%">
Thats all, you can use react-native-video for your tvOS application
#### Android
Run `react-native link` to link the react-native-video library.