react-native-orientation-locker
react-native-orientation-locker copied to clipboard
Getting null to all methods of Orientation class
All methods are null when called:
This error is located at:
in App
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in MobotController(RootComponent), js engine: hermes
ERROR TypeError: Cannot read property 'lockToLandscape' of null, js engine: hermes
same issue
Cannot read property 'lockToLandscape' of null
Same here
Same issue, but seems like nobody cares
Try to:
- Check AndroidManifest whether you added the permissions
- Check whether those permissions for phones or tables or for both
All methods are null when called:
This error is located at: in App in RCTView (created by View) in View (created by AppContainer) in RCTView (created by View) in View (created by AppContainer) in AppContainer in MobotController(RootComponent), js engine: hermes ERROR TypeError: Cannot read property 'lockToLandscape' of null, js engine: hermes
Same issue still happening on new installs of this package
same issue, any fix or workaround?
same issue, any fix or workaround?
Add check to your method call: Orientation?.method Name()
Any update on the situation of this problem?
Same here,but why?confict with other module?