{"action":"created","issue":{"url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/7","repository_url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner","labels_url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/7/comments","events_url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/7/events","html_url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues/7","id":157374337,"number":7,"title":"Camera video preview layer should not rotate with orientation change","user":{"login":"gitmh","id":4058365,"avatar_url":"https://avatars.githubusercontent.com/u/4058365?v=3","gravatar_id":"","url":"https://api.github.com/users/gitmh","html_url":"https://github.com/gitmh","followers_url":"https://api.github.com/users/gitmh/followers","following_url":"https://api.github.com/users/gitmh/following{/other_user}","gists_url":"https://api.github.com/users/gitmh/gists{/gist_id}","starred_url":"https://api.github.com/users/gitmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitmh/subscriptions","organizations_url":"https://api.github.com/users/gitmh/orgs","repos_url":"https://api.github.com/users/gitmh/repos","events_url":"https://api.github.com/users/gitmh/events{/privacy}","received_events_url":"https://api.github.com/users/gitmh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-05-29T07:50:17Z","updated_at":"2016-07-08T18:04:37Z","closed_at":null,"body":"When you have a landscape cordova app and start scanning the camera is not rotated correctly. The AVCaptureVideoOrientation should change with rotating the device."},"comment":{"url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/comments/231430498","html_url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues/7#issuecomment-231430498","issue_url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/7","id":231430498,"user":{"login":"gitmh","id":4058365,"avatar_url":"https://avatars.githubusercontent.com/u/4058365?v=3","gravatar_id":"","url":"https://api.github.com/users/gitmh","html_url":"https://github.com/gitmh","followers_url":"https://api.github.com/users/gitmh/followers","following_url":"https://api.github.com/users/gitmh/following{/other_user}","gists_url":"https://api.github.com/users/gitmh/gists{/gist_id}","starred_url":"https://api.github.com/users/gitmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitmh/subscriptions","organizations_url":"https://api.github.com/users/gitmh/orgs","repos_url":"https://api.github.com/users/gitmh/repos","events_url":"https://api.github.com/users/gitmh/events{/privacy}","received_events_url":"https://api.github.com/users/gitmh/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T18:04:37Z","updated_at":"2016-07-08T18:04:37Z","body":"@bitjson I also very unfamiliar with this orientation stuff. The solution I mentioned in the dropbox link with a timer works very well in my app. The problem is that I was unable to register a proper event handler for the orientation change. "}}
{"actor":{"display_login":"gitmh"}}