Merge pull request #280 from SarjuHansaliya/master
Readme file changes for react-native >= 0.29.0
This commit is contained in:
commit
8bd71a79ac
17
README.md
17
README.md
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user