reverted deprecated API

reverted deprecated API
This commit is contained in:
sridhar 2018-08-25 11:24:08 +05:30
parent 4ea926e137
commit ff31bd1772

View File

@ -17,6 +17,12 @@ public class ReactVideoPackage implements ReactPackage {
return Collections.emptyList();
}
// Deprecated RN 0.47
public List<Class<? extends JavaScriptModule>> createJSModules() {
return Collections.emptyList();
}
@Override
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
return Collections.<ViewManager>singletonList(new ReactExoplayerViewManager());