{"action":"created","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1436","repository_url":"https://api.github.com/repos/react-native-community/react-native-camera","labels_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1436/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1436/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1436/events","html_url":"https://github.com/react-native-community/react-native-camera/issues/1436","id":311393920,"number":1436,"title":"RNCamera view on android in portrait mode is squished. ","user":{"login":"mjaffa-figure","id":37548410,"avatar_url":"https://avatars0.githubusercontent.com/u/37548410?v=4","gravatar_id":"","url":"https://api.github.com/users/mjaffa-figure","html_url":"https://github.com/mjaffa-figure","followers_url":"https://api.github.com/users/mjaffa-figure/followers","following_url":"https://api.github.com/users/mjaffa-figure/following{/other_user}","gists_url":"https://api.github.com/users/mjaffa-figure/gists{/gist_id}","starred_url":"https://api.github.com/users/mjaffa-figure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjaffa-figure/subscriptions","organizations_url":"https://api.github.com/users/mjaffa-figure/orgs","repos_url":"https://api.github.com/users/mjaffa-figure/repos","events_url":"https://api.github.com/users/mjaffa-figure/events{/privacy}","received_events_url":"https://api.github.com/users/mjaffa-figure/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-04-04T21:15:15Z","updated_at":"2018-04-05T20:40:01Z","closed_at":null,"author_association":"NONE","body":"\r\n### Which implementation are you using\r\n\r\n*RNCamera* Mater branch  \r\n\r\n### Steps to reproduce\r\n1. Put an RNCamera view in a portrait mode only app. See the preview is squished. It assumes that you want to take the photo in landscape. Cause if I turn my device with portrait mode locked, the picture doesn't look squished.\r\n2.\r\n3.\r\n\r\n\r\n### Expected behaviour\r\nI expect the view in portrait mode to not look squished.\r\n\r\n### Actual behaviour\r\nIt still looks squished.\r\n\r\n### Environment\r\n- **Node.js version**:\r\n- **React Native version**:\r\n- **React Native platform + platform version**: iOS 9.0, Android 5.0, etc\r\n\r\n### react-native-camera\r\n**Version**: npm version or \"master\"\r\n\r\n> Love react-native-camera? Please consider supporting our collective: 👉  https://opencollective.com/react-native-camera/donate\r\n"},"comment":{"url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/comments/379069511","html_url":"https://github.com/react-native-community/react-native-camera/issues/1436#issuecomment-379069511","issue_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1436","id":379069511,"user":{"login":"SimonErm","id":33630884,"avatar_url":"https://avatars1.githubusercontent.com/u/33630884?v=4","gravatar_id":"","url":"https://api.github.com/users/SimonErm","html_url":"https://github.com/SimonErm","followers_url":"https://api.github.com/users/SimonErm/followers","following_url":"https://api.github.com/users/SimonErm/following{/other_user}","gists_url":"https://api.github.com/users/SimonErm/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonErm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonErm/subscriptions","organizations_url":"https://api.github.com/users/SimonErm/orgs","repos_url":"https://api.github.com/users/SimonErm/repos","events_url":"https://api.github.com/users/SimonErm/events{/privacy}","received_events_url":"https://api.github.com/users/SimonErm/received_events","type":"User","site_admin":false},"created_at":"2018-04-05T20:40:01Z","updated_at":"2018-04-05T20:40:01Z","author_association":"COLLABORATOR","body":"Got it runnig with master-branch and ratio=1:1 on OnePlus3T, i am not sure if that work on devices with smaller screens, because there is no supported previewsize maybe, if you use the preview just on the half screen and that's the reason why it squishes with bigger ratios. If you use master and remove your example text view, it will be cropped to a working ratio. If you want to use the highest ratio, you should add the Button as a child of RNCamera."}}
{"actor":{"display_login":"SimonErm"}}