{"action":"opened","number":140,"pull_request":{"url":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/140","id":54712514,"html_url":"https://github.com/lwansbrough/react-native-camera/pull/140","diff_url":"https://github.com/lwansbrough/react-native-camera/pull/140.diff","patch_url":"https://github.com/lwansbrough/react-native-camera/pull/140.patch","issue_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/140","number":140,"state":"open","locked":false,"title":"Fix: Wrong image orientation when device orientation is locked","user":{"login":"toriumi0118","id":2346203,"avatar_url":"https://avatars.githubusercontent.com/u/2346203?v=3","gravatar_id":"","url":"https://api.github.com/users/toriumi0118","html_url":"https://github.com/toriumi0118","followers_url":"https://api.github.com/users/toriumi0118/followers","following_url":"https://api.github.com/users/toriumi0118/following{/other_user}","gists_url":"https://api.github.com/users/toriumi0118/gists{/gist_id}","starred_url":"https://api.github.com/users/toriumi0118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toriumi0118/subscriptions","organizations_url":"https://api.github.com/users/toriumi0118/orgs","repos_url":"https://api.github.com/users/toriumi0118/repos","events_url":"https://api.github.com/users/toriumi0118/events{/privacy}","received_events_url":"https://api.github.com/users/toriumi0118/received_events","type":"User","site_admin":false},"body":"I fixed the bug that the image saved as portrait orientation when the device auto orientation lock mode.\r\nBecause UIDeviceOrientationDidChangeNotification is not worked in the locked mode.\r\n\r\nYou need to import __CoreMotion.framework__ to make it work.\r\n\r\n![_000](https://cloud.githubusercontent.com/assets/2346203/12032185/caa038dc-ae58-11e5-9989-5ba58d5bb13a.png)","created_at":"2015-12-29T09:22:45Z","updated_at":"2015-12-29T09:22:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/140/commits","review_comments_url":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/140/comments","review_comment_url":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/140/comments","statuses_url":"https://api.github.com/repos/lwansbrough/react-native-camera/statuses/b3501e1c7985e6e1d3afe91ccd07bfe3bf3761ee","head":{"label":"toriumi0118:fix-orientation","ref":"fix-orientation","sha":"b3501e1c7985e6e1d3afe91ccd07bfe3bf3761ee","user":{"login":"toriumi0118","id":2346203,"avatar_url":"https://avatars.githubusercontent.com/u/2346203?v=3","gravatar_id":"","url":"https://api.github.com/users/toriumi0118","html_url":"https://github.com/toriumi0118","followers_url":"https://api.github.com/users/toriumi0118/followers","following_url":"https://api.github.com/users/toriumi0118/following{/other_user}","gists_url":"https://api.github.com/users/toriumi0118/gists{/gist_id}","starred_url":"https://api.github.com/users/toriumi0118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toriumi0118/subscriptions","organizations_url":"https://api.github.com/users/toriumi0118/orgs","repos_url":"https://api.github.com/users/toriumi0118/repos","events_url":"https://api.github.com/users/toriumi0118/events{/privacy}","received_events_url":"https://api.github.com/users/toriumi0118/received_events","type":"User","site_admin":false},"repo":{"id":48735741,"name":"react-native-camera","full_name":"toriumi0118/react-native-camera","owner":{"login":"toriumi0118","id":2346203,"avatar_url":"https://avatars.githubusercontent.com/u/2346203?v=3","gravatar_id":"","url":"https://api.github.com/users/toriumi0118","html_url":"https://github.com/toriumi0118","followers_url":"https://api.github.com/users/toriumi0118/followers","following_url":"https://api.github.com/users/toriumi0118/following{/other_user}","gists_url":"https://api.github.com/users/toriumi0118/gists{/gist_id}","starred_url":"https://api.github.com/users/toriumi0118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toriumi0118/subscriptions","organizations_url":"https://api.github.com/users/toriumi0118/orgs","repos_url":"https://api.github.com/users/toriumi0118/repos","events_url":"https://api.github.com/users/toriumi0118/events{/privacy}","received_events_url":"https://api.github.com/users/toriumi0118/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toriumi0118/react-native-camera","description":"A Camera component for React Native. Also supports barcode scanning!","fork":true,"url":"https://api.github.com/repos/toriumi0118/react-native-camera","forks_url":"https://api.github.com/repos/toriumi0118/react-native-camera/forks","keys_url":"https://api.github.com/repos/toriumi0118/react-native-camera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toriumi0118/react-native-camera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toriumi0118/react-native-camera/teams","hooks_url":"https://api.github.com/repos/toriumi0118/react-native-camera/hooks","issue_events_url":"https://api.github.com/repos/toriumi0118/react-native-camera/issues/events{/number}","events_url":"https://api.github.com/repos/toriumi0118/react-native-camera/events","assignees_url":"https://api.github.com/repos/toriumi0118/react-native-camera/assignees{/user}","branches_url":"https://api.github.com/repos/toriumi0118/react-native-camera/branches{/branch}","tags_url":"https://api.github.com/repos/toriumi0118/react-native-camera/tags","blobs_url":"https://api.github.com/repos/toriumi0118/react-native-camera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toriumi0118/react-native-camera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toriumi0118/react-native-camera/git/refs{/sha}","trees_url":"https://api.github.com/repos/toriumi0118/react-native-camera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toriumi0118/react-native-camera/statuses/{sha}","languages_url":"https://api.github.com/repos/toriumi0118/react-native-camera/languages","stargazers_url":"https://api.github.com/repos/toriumi0118/react-native-camera/stargazers","contributors_url":"https://api.github.com/repos/toriumi0118/react-native-camera/contributors","subscribers_url":"https://api.github.com/repos/toriumi0118/react-native-camera/subscribers","subscription_url":"https://api.github.com/repos/toriumi0118/react-native-camera/subscription","commits_url":"https://api.github.com/repos/toriumi0118/react-native-camera/commits{/sha}","git_commits_url":"https://api.github.com/repos/toriumi0118/react-native-camera/git/commits{/sha}","comments_url":"https://api.github.com/repos/toriumi0118/react-native-camera/comments{/number}","issue_comment_url":"https://api.github.com/repos/toriumi0118/react-native-camera/issues/comments{/number}","contents_url":"https://api.github.com/repos/toriumi0118/react-native-camera/contents/{+path}","compare_url":"https://api.github.com/repos/toriumi0118/react-native-camera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toriumi0118/react-native-camera/merges","archive_url":"https://api.github.com/repos/toriumi0118/react-native-camera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toriumi0118/react-native-camera/downloads","issues_url":"https://api.github.com/repos/toriumi0118/react-native-camera/issues{/number}","pulls_url":"https://api.github.com/repos/toriumi0118/react-native-camera/pulls{/number}","milestones_url":"https://api.github.com/repos/toriumi0118/react-native-camera/milestones{/number}","notifications_url":"https://api.github.com/repos/toriumi0118/react-native-camera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toriumi0118/react-native-camera/labels{/name}","releases_url":"https://api.github.com/repos/toriumi0118/react-native-camera/releases{/id}","created_at":"2015-12-29T07:59:37Z","updated_at":"2015-12-29T07:59:38Z","pushed_at":"2015-12-29T09:10:13Z","git_url":"git://github.com/toriumi0118/react-native-camera.git","ssh_url":"git@github.com:toriumi0118/react-native-camera.git","clone_url":"https://github.com/toriumi0118/react-native-camera.git","svn_url":"https://github.com/toriumi0118/react-native-camera","homepage":"","size":151,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lwansbrough:master","ref":"master","sha":"55fc97193cf41c5a2a1c9e53a99b2b5367655277","user":{"login":"lwansbrough","id":186674,"avatar_url":"https://avatars.githubusercontent.com/u/186674?v=3","gravatar_id":"","url":"https://api.github.com/users/lwansbrough","html_url":"https://github.com/lwansbrough","followers_url":"https://api.github.com/users/lwansbrough/followers","following_url":"https://api.github.com/users/lwansbrough/following{/other_user}","gists_url":"https://api.github.com/users/lwansbrough/gists{/gist_id}","starred_url":"https://api.github.com/users/lwansbrough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwansbrough/subscriptions","organizations_url":"https://api.github.com/users/lwansbrough/orgs","repos_url":"https://api.github.com/users/lwansbrough/repos","events_url":"https://api.github.com/users/lwansbrough/events{/privacy}","received_events_url":"https://api.github.com/users/lwansbrough/received_events","type":"User","site_admin":false},"repo":{"id":33218414,"name":"react-native-camera","full_name":"lwansbrough/react-native-camera","owner":{"login":"lwansbrough","id":186674,"avatar_url":"https://avatars.githubusercontent.com/u/186674?v=3","gravatar_id":"","url":"https://api.github.com/users/lwansbrough","html_url":"https://github.com/lwansbrough","followers_url":"https://api.github.com/users/lwansbrough/followers","following_url":"https://api.github.com/users/lwansbrough/following{/other_user}","gists_url":"https://api.github.com/users/lwansbrough/gists{/gist_id}","starred_url":"https://api.github.com/users/lwansbrough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwansbrough/subscriptions","organizations_url":"https://api.github.com/users/lwansbrough/orgs","repos_url":"https://api.github.com/users/lwansbrough/repos","events_url":"https://api.github.com/users/lwansbrough/events{/privacy}","received_events_url":"https://api.github.com/users/lwansbrough/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lwansbrough/react-native-camera","description":"A Camera component for React Native. Also supports barcode scanning!","fork":false,"url":"https://api.github.com/repos/lwansbrough/react-native-camera","forks_url":"https://api.github.com/repos/lwansbrough/react-native-camera/forks","keys_url":"https://api.github.com/repos/lwansbrough/react-native-camera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lwansbrough/react-native-camera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lwansbrough/react-native-camera/teams","hooks_url":"https://api.github.com/repos/lwansbrough/react-native-camera/hooks","issue_events_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/events{/number}","events_url":"https://api.github.com/repos/lwansbrough/react-native-camera/events","assignees_url":"https://api.github.com/repos/lwansbrough/react-native-camera/assignees{/user}","branches_url":"https://api.github.com/repos/lwansbrough/react-native-camera/branches{/branch}","tags_url":"https://api.github.com/repos/lwansbrough/react-native-camera/tags","blobs_url":"https://api.github.com/repos/lwansbrough/react-native-camera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lwansbrough/react-native-camera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lwansbrough/react-native-camera/git/refs{/sha}","trees_url":"https://api.github.com/repos/lwansbrough/react-native-camera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lwansbrough/react-native-camera/statuses/{sha}","languages_url":"https://api.github.com/repos/lwansbrough/react-native-camera/languages","stargazers_url":"https://api.github.com/repos/lwansbrough/react-native-camera/stargazers","contributors_url":"https://api.github.com/repos/lwansbrough/react-native-camera/contributors","subscribers_url":"https://api.github.com/repos/lwansbrough/react-native-camera/subscribers","subscription_url":"https://api.github.com/repos/lwansbrough/react-native-camera/subscription","commits_url":"https://api.github.com/repos/lwansbrough/react-native-camera/commits{/sha}","git_commits_url":"https://api.github.com/repos/lwansbrough/react-native-camera/git/commits{/sha}","comments_url":"https://api.github.com/repos/lwansbrough/react-native-camera/comments{/number}","issue_comment_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/comments{/number}","contents_url":"https://api.github.com/repos/lwansbrough/react-native-camera/contents/{+path}","compare_url":"https://api.github.com/repos/lwansbrough/react-native-camera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lwansbrough/react-native-camera/merges","archive_url":"https://api.github.com/repos/lwansbrough/react-native-camera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lwansbrough/react-native-camera/downloads","issues_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues{/number}","pulls_url":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls{/number}","milestones_url":"https://api.github.com/repos/lwansbrough/react-native-camera/milestones{/number}","notifications_url":"https://api.github.com/repos/lwansbrough/react-native-camera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lwansbrough/react-native-camera/labels{/name}","releases_url":"https://api.github.com/repos/lwansbrough/react-native-camera/releases{/id}","created_at":"2015-04-01T00:54:40Z","updated_at":"2015-12-29T08:49:35Z","pushed_at":"2015-12-22T22:00:18Z","git_url":"git://github.com/lwansbrough/react-native-camera.git","ssh_url":"git@github.com:lwansbrough/react-native-camera.git","clone_url":"https://github.com/lwansbrough/react-native-camera.git","svn_url":"https://github.com/lwansbrough/react-native-camera","homepage":"","size":203,"stargazers_count":606,"watchers_count":606,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":103,"mirror_url":null,"open_issues_count":29,"forks":103,"open_issues":29,"watchers":606,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/140"},"html":{"href":"https://github.com/lwansbrough/react-native-camera/pull/140"},"issue":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/140"},"comments":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/statuses/b3501e1c7985e6e1d3afe91ccd07bfe3bf3761ee"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":1,"changed_files":4}}