Skip to content

Commit

Permalink
ad platform installation to TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Mariño committed Jul 23, 2019
1 parent 62ff44a commit b0737bd
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ Version 3.0 features a number of changes to existing behavior. See [Updating](#u
## Table of Contents

* [Installation](#installation)
* [iOS](#ios-installation)
* [tvOS](#tvos-installation)
* [Android](#android-installation)
* [Windows](#windows-installation)
* [react-native-dom](#react-native-dom-installation)
* [Usage](#usage)
* [iOS App Transport Security](#ios-app-transport-security)
* [Audio Mixing](#audio-mixing)
Expand All @@ -42,7 +47,7 @@ yarn add react-native-video

Then follow the instructions for your platform to link react-native-video into your project:

### iOS
### iOS installation
<details>
<summary>iOS details</summary>

Expand Down Expand Up @@ -74,7 +79,7 @@ end

</details>

### tvOS
### tvOS installation
<details>
<summary>tvOS details</summary>

Expand All @@ -97,7 +102,7 @@ Select RCTVideo-tvOS
<img src="./docs/tvOS-step-4.jpg" width="40%">
</details>

### Android
### Android installation
<details>
<summary>Android details</summary>

Expand All @@ -121,7 +126,6 @@ include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android')
```


#### **android/app/build.gradle**

From version >= 5.0.0, you have to apply this changes:
Expand All @@ -135,6 +139,7 @@ dependencies {

}
```

#### **android/gradle.properties**

Migrating to AndroidX (needs version >= 5.0.0):
Expand Down Expand Up @@ -165,7 +170,7 @@ protected List<ReactPackage> getPackages() {
```
</details>

### Windows
### Windows installation
<details>
<summary>Windows details</summary>

Expand Down Expand Up @@ -215,7 +220,7 @@ using System.Collections.Generic;
```
</details>

### react-native-dom
### react-native-dom installation
<details>
<summary>react-native-dom details</summary>

Expand Down

0 comments on commit b0737bd

Please sign in to comment.