Merge pull request #280 from SarjuHansaliya/master

Readme file changes for react-native >= 0.29.0
This commit is contained in:
Brent Vatne 2016-08-11 10:54:49 -07:00 committed by GitHub
commit 8bd71a79ac

View File

@ -59,6 +59,23 @@ Under `.addPackage(new MainReactPackage())`:
.addPackage(new ReactVideoPackage())
```
### Note:In react-native >= 0.29.0 you have to edit MainApplication.java
**MainApplication.java** (react-native >= 0.29.0)
On top, where imports are:
```java
import com.brentvatne.react.ReactVideoPackage;
```
Under `.addPackage(new MainReactPackage())`:
```java
.addPackage(new ReactVideoPackage())
```
## Usage
```javascript