{"issue":{"created_at":"2011-11-21T17:39:14Z","state":"closed","updated_at":"2011-12-06T20:14:59Z","user":{"gravatar_id":"8ef5419c365efa47bdb7666d9f6172c5","id":28161,"url":"https://api.github.com/users/mboyle","login":"mboyle","avatar_url":"https://secure.gravatar.com/avatar/8ef5419c365efa47bdb7666d9f6172c5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":5,"body":"When I launch the barcode scanner from within my app the camera viewport freezes on what looks like the first frame of what it's capturing. I can hit the \"Cancel\" button and the app resumes working so it doesn't seem like a crash, the image is just completely still and doesn't update. I'm not sure what changed because this worked fine before.","assignee":{"gravatar_id":"4b7fb344f374733efcf61813ccf5d796","id":25117,"url":"https://api.github.com/users/pmuellr","login":"pmuellr","avatar_url":"https://secure.gravatar.com/avatar/4b7fb344f374733efcf61813ccf5d796?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":244,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2307163,"labels":[{"name":"iOS","color":"e102d8","url":"https://api.github.com/repos/phonegap/phonegap-plugins/labels/iOS"}],"title":"iPhone Barcode Scanner image freezes","html_url":"https://github.com/phonegap/phonegap-plugins/issues/244","closed_at":"2011-12-06T20:14:59Z","url":"https://api.github.com/repos/phonegap/phonegap-plugins/issues/244","milestone":null},"action":"created","comment":{"created_at":"2011-12-06T20:14:59Z","updated_at":"2011-12-06T20:14:59Z","user":{"gravatar_id":"8ef5419c365efa47bdb7666d9f6172c5","id":28161,"url":"https://api.github.com/users/mboyle","login":"mboyle","avatar_url":"https://secure.gravatar.com/avatar/8ef5419c365efa47bdb7666d9f6172c5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I believe the issue was that the window.plugins.barcodeScanner.scan() function was getting called multiple times when trying to trigger a single scan and that caused the camera freeze.","id":3037987,"url":"https://api.github.com/repos/phonegap/phonegap-plugins/issues/comments/3037987"}}