You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.
Any update on this? If I take a picture in landscape using takePictureAsync it is saved to the Camera Roll as portrait. The photo.exif.Orientation returns 0 for photos taken in both landscape and portrait mode. I am on an Android phone.
Figured out this is happening because the app.json file locks orientation to portrait. I solved this by adding Expo.ScreenOrientation.allow(Expo.ScreenOrientation.Orientation.ALL_BUT_UPSIDE_DOWN) to componentWillMount.
Figured out this is happening because the app.json file locks orientation to portrait. I solved this by adding Expo.ScreenOrientation.allow(Expo.ScreenOrientation.Orientation.ALL_BUT_UPSIDE_DOWN) to componentWillMount.
Thanks! it helps..
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The camera preview should rotate itself when the layout switches to landscape.
The text was updated successfully, but these errors were encountered: