{"action":"created","issue":{"url":"https://api.github.com/repos/dm77/barcodescanner/issues/42","labels_url":"https://api.github.com/repos/dm77/barcodescanner/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/dm77/barcodescanner/issues/42/comments","events_url":"https://api.github.com/repos/dm77/barcodescanner/issues/42/events","html_url":"https://github.com/dm77/barcodescanner/issues/42","id":51666638,"number":42,"title":"An error occured while connecting to camera","user":{"login":"RonCan","id":4863594,"avatar_url":"https://avatars.githubusercontent.com/u/4863594?v=3","gravatar_id":"","url":"https://api.github.com/users/RonCan","html_url":"https://github.com/RonCan","followers_url":"https://api.github.com/users/RonCan/followers","following_url":"https://api.github.com/users/RonCan/following{/other_user}","gists_url":"https://api.github.com/users/RonCan/gists{/gist_id}","starred_url":"https://api.github.com/users/RonCan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonCan/subscriptions","organizations_url":"https://api.github.com/users/RonCan/orgs","repos_url":"https://api.github.com/users/RonCan/repos","events_url":"https://api.github.com/users/RonCan/events{/privacy}","received_events_url":"https://api.github.com/users/RonCan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dm77/barcodescanner/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-12-11T09:53:20Z","updated_at":"2015-11-20T08:36:11Z","closed_at":null,"body":"I'm getting W/CameraBase﹕ An error occurred while connecting to camera when the app opens up, a black screen with the red scan line appears.\r\nWhat's causing this?\r\nI'm using Nexus 4 with Android Lollipop 5.0"},"comment":{"url":"https://api.github.com/repos/dm77/barcodescanner/issues/comments/158323942","html_url":"https://github.com/dm77/barcodescanner/issues/42#issuecomment-158323942","issue_url":"https://api.github.com/repos/dm77/barcodescanner/issues/42","id":158323942,"user":{"login":"augonis","id":5644904,"avatar_url":"https://avatars.githubusercontent.com/u/5644904?v=3","gravatar_id":"","url":"https://api.github.com/users/augonis","html_url":"https://github.com/augonis","followers_url":"https://api.github.com/users/augonis/followers","following_url":"https://api.github.com/users/augonis/following{/other_user}","gists_url":"https://api.github.com/users/augonis/gists{/gist_id}","starred_url":"https://api.github.com/users/augonis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augonis/subscriptions","organizations_url":"https://api.github.com/users/augonis/orgs","repos_url":"https://api.github.com/users/augonis/repos","events_url":"https://api.github.com/users/augonis/events{/privacy}","received_events_url":"https://api.github.com/users/augonis/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T08:36:11Z","updated_at":"2015-11-20T08:36:11Z","body":"I had this issue on Nexus 5 with Android 6.0. \r\nTurns out I had to go into android settings>applications> (app) >permissions and explicitly allow access to the camera.\r\n\r\nHope this is helpful for someone."}}