Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orientation.lockToPortrait() throw a error #398

Open
dgreen-dev opened this issue Apr 27, 2021 · 2 comments
Open

Orientation.lockToPortrait() throw a error #398

dgreen-dev opened this issue Apr 27, 2021 · 2 comments

Comments

@dgreen-dev
Copy link

Getting error: TypeError: null is not an object (evaluating 'Orientation.lockToPortrait') in ios
I'm using "react-native-orientation": "git+https://github.com/yamill/react-native-orientation.git"
React Native version: 0.63.3

@usamaimam1
Copy link

Have you tried npx pod install

@pawansharmaAccolite
Copy link

pawansharmaAccolite commented Dec 8, 2022

Getting error: TypeError: null is not an object (evaluating 'Orientation.lockToPortrait') in ios I'm using "react-native-orientation": "git+https://github.com/yamill/react-native-orientation.git" React Native version: 0.63.3

@dgreen-dev is it working now ?
in real device which have ios 14 or 15 version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants