{"action":"opened","number":130,"pull_request":{"url":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/130","id":52191821,"html_url":"https://github.com/lwansbrough/react-native-camera/pull/130","diff_url":"https://github.com/lwansbrough/react-native-camera/pull/130.diff","patch_url":"https://github.com/lwansbrough/react-native-camera/pull/130.patch","issue_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/130","number":130,"state":"open","locked":false,"title":"Fix crash when user pinches to zoom on devices that don't support it.","user":{"login":"pjcabrera","id":199736,"avatar_url":"https://avatars.githubusercontent.com/u/199736?v=3","gravatar_id":"","url":"https://api.github.com/users/pjcabrera","html_url":"https://github.com/pjcabrera","followers_url":"https://api.github.com/users/pjcabrera/followers","following_url":"https://api.github.com/users/pjcabrera/following{/other_user}","gists_url":"https://api.github.com/users/pjcabrera/gists{/gist_id}","starred_url":"https://api.github.com/users/pjcabrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjcabrera/subscriptions","organizations_url":"https://api.github.com/users/pjcabrera/orgs","repos_url":"https://api.github.com/users/pjcabrera/repos","events_url":"https://api.github.com/users/pjcabrera/events{/privacy}","received_events_url":"https://api.github.com/users/pjcabrera/received_events","type":"User","site_admin":false},"body":"When zoomFactor was computed with a value greater than device.activeFormat.videoMaxZoomFactor, it caused a crash. Changed the pinch to zoom code to respect the value of device.activeFormat.videoMaxZoomFactor.\r\n\r\nThis fixes https://github.com/lwansbrough/react-native-camera/issues/107","created_at":"2015-11-30T22:56:50Z","updated_at":"2015-11-30T22:56:50Z","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/130/commits","review_comments_url":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/130/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/130/comments","statuses_url":"https://api.github.com/repos/lwansbrough/react-native-camera/statuses/f7f8c23dd6ecbaa9dd3aa1ed9f1be8422159014b","head":{"label":"apprennet:pinch-to-zoom-crash-fix","ref":"pinch-to-zoom-crash-fix","sha":"f7f8c23dd6ecbaa9dd3aa1ed9f1be8422159014b","user":{"login":"apprennet","id":6934261,"avatar_url":"https://avatars.githubusercontent.com/u/6934261?v=3","gravatar_id":"","url":"https://api.github.com/users/apprennet","html_url":"https://github.com/apprennet","followers_url":"https://api.github.com/users/apprennet/followers","following_url":"https://api.github.com/users/apprennet/following{/other_user}","gists_url":"https://api.github.com/users/apprennet/gists{/gist_id}","starred_url":"https://api.github.com/users/apprennet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apprennet/subscriptions","organizations_url":"https://api.github.com/users/apprennet/orgs","repos_url":"https://api.github.com/users/apprennet/repos","events_url":"https://api.github.com/users/apprennet/events{/privacy}","received_events_url":"https://api.github.com/users/apprennet/received_events","type":"Organization","site_admin":false},"repo":{"id":47142657,"name":"react-native-camera","full_name":"apprennet/react-native-camera","owner":{"login":"apprennet","id":6934261,"avatar_url":"https://avatars.githubusercontent.com/u/6934261?v=3","gravatar_id":"","url":"https://api.github.com/users/apprennet","html_url":"https://github.com/apprennet","followers_url":"https://api.github.com/users/apprennet/followers","following_url":"https://api.github.com/users/apprennet/following{/other_user}","gists_url":"https://api.github.com/users/apprennet/gists{/gist_id}","starred_url":"https://api.github.com/users/apprennet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apprennet/subscriptions","organizations_url":"https://api.github.com/users/apprennet/orgs","repos_url":"https://api.github.com/users/apprennet/repos","events_url":"https://api.github.com/users/apprennet/events{/privacy}","received_events_url":"https://api.github.com/users/apprennet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apprennet/react-native-camera","description":"A Camera component for React Native. Also supports barcode scanning!","fork":true,"url":"https://api.github.com/repos/apprennet/react-native-camera","forks_url":"https://api.github.com/repos/apprennet/react-native-camera/forks","keys_url":"https://api.github.com/repos/apprennet/react-native-camera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apprennet/react-native-camera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apprennet/react-native-camera/teams","hooks_url":"https://api.github.com/repos/apprennet/react-native-camera/hooks","issue_events_url":"https://api.github.com/repos/apprennet/react-native-camera/issues/events{/number}","events_url":"https://api.github.com/repos/apprennet/react-native-camera/events","assignees_url":"https://api.github.com/repos/apprennet/react-native-camera/assignees{/user}","branches_url":"https://api.github.com/repos/apprennet/react-native-camera/branches{/branch}","tags_url":"https://api.github.com/repos/apprennet/react-native-camera/tags","blobs_url":"https://api.github.com/repos/apprennet/react-native-camera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apprennet/react-native-camera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apprennet/react-native-camera/git/refs{/sha}","trees_url":"https://api.github.com/repos/apprennet/react-native-camera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apprennet/react-native-camera/statuses/{sha}","languages_url":"https://api.github.com/repos/apprennet/react-native-camera/languages","stargazers_url":"https://api.github.com/repos/apprennet/react-native-camera/stargazers","contributors_url":"https://api.github.com/repos/apprennet/react-native-camera/contributors","subscribers_url":"https://api.github.com/repos/apprennet/react-native-camera/subscribers","subscription_url":"https://api.github.com/repos/apprennet/react-native-camera/subscription","commits_url":"https://api.github.com/repos/apprennet/react-native-camera/commits{/sha}","git_commits_url":"https://api.github.com/repos/apprennet/react-native-camera/git/commits{/sha}","comments_url":"https://api.github.com/repos/apprennet/react-native-camera/comments{/number}","issue_comment_url":"https://api.github.com/repos/apprennet/react-native-camera/issues/comments{/number}","contents_url":"https://api.github.com/repos/apprennet/react-native-camera/contents/{+path}","compare_url":"https://api.github.com/repos/apprennet/react-native-camera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apprennet/react-native-camera/merges","archive_url":"https://api.github.com/repos/apprennet/react-native-camera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apprennet/react-native-camera/downloads","issues_url":"https://api.github.com/repos/apprennet/react-native-camera/issues{/number}","pulls_url":"https://api.github.com/repos/apprennet/react-native-camera/pulls{/number}","milestones_url":"https://api.github.com/repos/apprennet/react-native-camera/milestones{/number}","notifications_url":"https://api.github.com/repos/apprennet/react-native-camera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apprennet/react-native-camera/labels{/name}","releases_url":"https://api.github.com/repos/apprennet/react-native-camera/releases{/id}","created_at":"2015-11-30T20:00:36Z","updated_at":"2015-11-30T20:00:36Z","pushed_at":"2015-11-30T22:50:56Z","git_url":"git://github.com/apprennet/react-native-camera.git","ssh_url":"git@github.com:apprennet/react-native-camera.git","clone_url":"https://github.com/apprennet/react-native-camera.git","svn_url":"https://github.com/apprennet/react-native-camera","homepage":"","size":143,"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":"d911c99987762edfcc5153b2589563216882e8ec","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-11-30T07:22:09Z","pushed_at":"2015-11-30T22:54:23Z","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":163,"stargazers_count":553,"watchers_count":553,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"open_issues_count":25,"forks":87,"open_issues":25,"watchers":553,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/130"},"html":{"href":"https://github.com/lwansbrough/react-native-camera/pull/130"},"issue":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/130"},"comments":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/pulls/130/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/130/commits"},"statuses":{"href":"https://api.github.com/repos/lwansbrough/react-native-camera/statuses/f7f8c23dd6ecbaa9dd3aa1ed9f1be8422159014b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}