From 158701cab7dfad9b5b1458c6a1f8d0f654f39e7a Mon Sep 17 00:00:00 2001 From: sarju Date: Thu, 28 Jul 2016 10:14:18 +0530 Subject: [PATCH] Readme file changes for react-native > 0.29 --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index ef37bd9a..c2bb5a21 100644 --- a/README.md +++ b/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