reverted deprecated API
reverted deprecated API
This commit is contained in:
parent
4ea926e137
commit
ff31bd1772
@ -17,6 +17,12 @@ public class ReactVideoPackage implements ReactPackage {
|
|||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Deprecated RN 0.47
|
||||||
|
public List<Class<? extends JavaScriptModule>> createJSModules() {
|
||||||
|
return Collections.emptyList();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
|
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
|
||||||
return Collections.<ViewManager>singletonList(new ReactExoplayerViewManager());
|
return Collections.<ViewManager>singletonList(new ReactExoplayerViewManager());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user