{"action":"created","issue":{"url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/309","repository_url":"https://api.github.com/repos/lwansbrough/react-native-camera","labels_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/309/comments","events_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/309/events","html_url":"https://github.com/lwansbrough/react-native-camera/issues/309","id":158066431,"number":309,"title":"Android photo taken in portrait gets rotated when saved to camera roll","user":{"login":"daavidjobe","id":4693202,"avatar_url":"https://avatars3.githubusercontent.com/u/4693202?v=4","gravatar_id":"","url":"https://api.github.com/users/daavidjobe","html_url":"https://github.com/daavidjobe","followers_url":"https://api.github.com/users/daavidjobe/followers","following_url":"https://api.github.com/users/daavidjobe/following{/other_user}","gists_url":"https://api.github.com/users/daavidjobe/gists{/gist_id}","starred_url":"https://api.github.com/users/daavidjobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daavidjobe/subscriptions","organizations_url":"https://api.github.com/users/daavidjobe/orgs","repos_url":"https://api.github.com/users/daavidjobe/repos","events_url":"https://api.github.com/users/daavidjobe/events{/privacy}","received_events_url":"https://api.github.com/users/daavidjobe/received_events","type":"User","site_admin":false},"labels":[{"id":418407111,"url":"https://api.github.com/repos/lwansbrough/react-native-camera/labels/Android","name":"Android","color":"bfe5bf","default":false},{"id":194397263,"url":"https://api.github.com/repos/lwansbrough/react-native-camera/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":25,"created_at":"2016-06-02T06:11:32Z","updated_at":"2017-11-27T14:04:00Z","closed_at":null,"author_association":"NONE","body":"### Steps to reproduce\n\n1.Capture an image on a Samsung device in portrait mode and save it to camera roll\n### Expected behaviour\n\nThe image should be saved as portrait\n### Actual behaviour\n\nThe image is saved as landscape\n\nThis could be fixed by rotating the image if device orientation is 0 and device model is samsung but it´s a bad solution. I don´t know if the issue exists on all samsung devices or just the ones I have tested it on. Also, rotating a bitmap makes the module slow\n### Environment\n- **Node.js version**:\n- **React Native version**: 0.26.2\n- **React Native platform + platform version**: Android 5.1\n### react-native-camera\n\n**Version**: master\n"},"comment":{"url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/comments/347190444","html_url":"https://github.com/lwansbrough/react-native-camera/issues/309#issuecomment-347190444","issue_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/309","id":347190444,"user":{"login":"basvdijk","id":644550,"avatar_url":"https://avatars2.githubusercontent.com/u/644550?v=4","gravatar_id":"","url":"https://api.github.com/users/basvdijk","html_url":"https://github.com/basvdijk","followers_url":"https://api.github.com/users/basvdijk/followers","following_url":"https://api.github.com/users/basvdijk/following{/other_user}","gists_url":"https://api.github.com/users/basvdijk/gists{/gist_id}","starred_url":"https://api.github.com/users/basvdijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvdijk/subscriptions","organizations_url":"https://api.github.com/users/basvdijk/orgs","repos_url":"https://api.github.com/users/basvdijk/repos","events_url":"https://api.github.com/users/basvdijk/events{/privacy}","received_events_url":"https://api.github.com/users/basvdijk/received_events","type":"User","site_admin":false},"created_at":"2017-11-27T14:04:00Z","updated_at":"2017-11-27T14:04:00Z","author_association":"NONE","body":"We fixt it to offer the user to rotate the image after sending it to the server. I don't know if the bug is fixed in version 3.0.0 of the camera plugin"}}
{"actor":{"display_login":"basvdijk"}}