{"action":"created","issue":{"url":"https://api.github.com/repos/danielebogo/DBCamera/issues/125","labels_url":"https://api.github.com/repos/danielebogo/DBCamera/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/danielebogo/DBCamera/issues/125/comments","events_url":"https://api.github.com/repos/danielebogo/DBCamera/issues/125/events","html_url":"https://github.com/danielebogo/DBCamera/issues/125","id":53974818,"number":125,"title":"\"inactive/invalid connection\" crashing app","user":{"login":"kraftydevil","id":1315619,"avatar_url":"https://avatars.githubusercontent.com/u/1315619?v=3","gravatar_id":"","url":"https://api.github.com/users/kraftydevil","html_url":"https://github.com/kraftydevil","followers_url":"https://api.github.com/users/kraftydevil/followers","following_url":"https://api.github.com/users/kraftydevil/following{/other_user}","gists_url":"https://api.github.com/users/kraftydevil/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftydevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftydevil/subscriptions","organizations_url":"https://api.github.com/users/kraftydevil/orgs","repos_url":"https://api.github.com/users/kraftydevil/repos","events_url":"https://api.github.com/users/kraftydevil/events{/privacy}","received_events_url":"https://api.github.com/users/kraftydevil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-10T23:06:06Z","updated_at":"2015-01-15T18:05:30Z","closed_at":null,"body":"The full crash message:\r\n\r\nReason: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVCaptureStillImageOutput captureStillImageAsynchronouslyFromConnection:completionHandler:] - inactive/invalid connection passed.'\r\n\r\n![screen shot 2015-01-10 at 6 03 54 pm](https://cloud.githubusercontent.com/assets/1315619/5693633/527dc11a-98f3-11e4-8e0e-614fc4525e09.png)\r\nI've got about 60 total crashes spanning just about every device that can run iOS 8.\r\n\r\nAm I using the library incorrectly?\r\n\r\nAttaching a screenshot of my code:\r\n![screen shot 2015-01-10 at 6 02 50 pm](https://cloud.githubusercontent.com/assets/1315619/5693636/6fa51eaa-98f3-11e4-8c54-7a14c073f9ed.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/danielebogo/DBCamera/issues/comments/70131537","html_url":"https://github.com/danielebogo/DBCamera/issues/125#issuecomment-70131537","issue_url":"https://api.github.com/repos/danielebogo/DBCamera/issues/125","id":70131537,"user":{"login":"kraftydevil","id":1315619,"avatar_url":"https://avatars.githubusercontent.com/u/1315619?v=3","gravatar_id":"","url":"https://api.github.com/users/kraftydevil","html_url":"https://github.com/kraftydevil","followers_url":"https://api.github.com/users/kraftydevil/followers","following_url":"https://api.github.com/users/kraftydevil/following{/other_user}","gists_url":"https://api.github.com/users/kraftydevil/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftydevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftydevil/subscriptions","organizations_url":"https://api.github.com/users/kraftydevil/orgs","repos_url":"https://api.github.com/users/kraftydevil/repos","events_url":"https://api.github.com/users/kraftydevil/events{/privacy}","received_events_url":"https://api.github.com/users/kraftydevil/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T18:05:30Z","updated_at":"2015-01-15T18:05:30Z","body":"I've been able to reproduce the problem by disabling the camera for my app. Settings > Privacy > Camera > Toggle app.\r\n\r\nI believe this is an iOS 8 thing: http://stackoverflow.com/questions/26070393/is-there-a-way-to-ask-user-for-camera-access-after-they-have-already-denied-it-o\r\n\r\nIs this something you addressed in master?"}}