ad platform installation to TOC

(cherry picked from commit b0737bd56a4743c5154f48533a2f097ec59622a5)
This commit is contained in:
Daniel Mariño 2019-07-23 11:54:55 +02:00
parent 4f9f7936a4
commit e38149b476

View File

@ -20,6 +20,11 @@ Version 3.0 features a number of changes to existing behavior. See [Updating](#u
## Table of Contents ## Table of Contents
* [Installation](#installation) * [Installation](#installation)
* [iOS](#ios-installation)
* [tvOS](#tvos-installation)
* [Android](#android-installation)
* [Windows](#windows-installation)
* [react-native-dom](#react-native-dom-installation)
* [Usage](#usage) * [Usage](#usage)
* [iOS App Transport Security](#ios-app-transport-security) * [iOS App Transport Security](#ios-app-transport-security)
* [Audio Mixing](#audio-mixing) * [Audio Mixing](#audio-mixing)
@ -42,7 +47,7 @@ yarn add react-native-video
Then follow the instructions for your platform to link react-native-video into your project: Then follow the instructions for your platform to link react-native-video into your project:
### iOS ### iOS installation
<details> <details>
<summary>iOS details</summary> <summary>iOS details</summary>
@ -74,7 +79,7 @@ end
</details> </details>
### tvOS ### tvOS installation
<details> <details>
<summary>tvOS details</summary> <summary>tvOS details</summary>
@ -97,7 +102,7 @@ Select RCTVideo-tvOS
<img src="./docs/tvOS-step-4.jpg" width="40%"> <img src="./docs/tvOS-step-4.jpg" width="40%">
</details> </details>
### Android ### Android installation
<details> <details>
<summary>Android details</summary> <summary>Android details</summary>
@ -121,7 +126,6 @@ include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android') project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android')
``` ```
#### **android/app/build.gradle** #### **android/app/build.gradle**
From version >= 5.0.0, you have to apply this changes: From version >= 5.0.0, you have to apply this changes:
@ -166,7 +170,7 @@ protected List<ReactPackage> getPackages() {
``` ```
</details> </details>
### Windows ### Windows installation
<details> <details>
<summary>Windows details</summary> <summary>Windows details</summary>
@ -216,7 +220,7 @@ using System.Collections.Generic;
``` ```
</details> </details>
### react-native-dom ### react-native-dom installation
<details> <details>
<summary>react-native-dom details</summary> <summary>react-native-dom details</summary>