0

Just installed and linked react-native-fullscreen-video library and got this error:

undefined is not an object (evaluating 'Orientation.lockToPortrait')

Then I installed react-native-orientation library and get another error:

undefined is not an object (evaluating '_reactNative.NativeModules.UIManager.RCTVideo.Constants')

Any idea?

Hannibal
  • 49
  • 1
  • 11

1 Answers1

1

The library requires react-native-video to be installed. Ensure that you have that dependency successfully installed and linked.