{"action":"opened","number":317,"pull_request":{"url":"https://api.github.com/repos/hyperoslo/ImagePicker/pulls/317","id":129482672,"html_url":"https://github.com/hyperoslo/ImagePicker/pull/317","diff_url":"https://github.com/hyperoslo/ImagePicker/pull/317.diff","patch_url":"https://github.com/hyperoslo/ImagePicker/pull/317.patch","issue_url":"https://api.github.com/repos/hyperoslo/ImagePicker/issues/317","number":317,"state":"open","locked":false,"title":"Add option to request lower resolution images from PHPhotoLibary","user":{"login":"jadar","id":3793928,"avatar_url":"https://avatars1.githubusercontent.com/u/3793928?v=3","gravatar_id":"","url":"https://api.github.com/users/jadar","html_url":"https://github.com/jadar","followers_url":"https://api.github.com/users/jadar/followers","following_url":"https://api.github.com/users/jadar/following{/other_user}","gists_url":"https://api.github.com/users/jadar/gists{/gist_id}","starred_url":"https://api.github.com/users/jadar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadar/subscriptions","organizations_url":"https://api.github.com/users/jadar/orgs","repos_url":"https://api.github.com/users/jadar/repos","events_url":"https://api.github.com/users/jadar/events{/privacy}","received_events_url":"https://api.github.com/users/jadar/received_events","type":"User","site_admin":false},"body":"We were having some issues where Apple's framework was allocating too much memory and causing memory pressure crashes when a) the image picker was opened or b) the image was taken. \r\n\r\nFor this reason, we added an option to prefer a lower resolution image. A functional image picker is what our customers need most--so this was a reasonable compromise. The idea is that we can turn it on and off based on how much memory a device has. So lower memory devices (like iPad mini) are able to be more stable.\r\n\r\nOpen to input. If my solution is not right there's a better way, please let me know.","created_at":"2017-07-07T20:33:14Z","updated_at":"2017-07-07T20:33:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/hyperoslo/ImagePicker/pulls/317/commits","review_comments_url":"https://api.github.com/repos/hyperoslo/ImagePicker/pulls/317/comments","review_comment_url":"https://api.github.com/repos/hyperoslo/ImagePicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperoslo/ImagePicker/issues/317/comments","statuses_url":"https://api.github.com/repos/hyperoslo/ImagePicker/statuses/3a85df7742dd40c6ab7d92360babe8ae8a8b082e","head":{"label":"jadar:master","ref":"master","sha":"3a85df7742dd40c6ab7d92360babe8ae8a8b082e","user":{"login":"jadar","id":3793928,"avatar_url":"https://avatars1.githubusercontent.com/u/3793928?v=3","gravatar_id":"","url":"https://api.github.com/users/jadar","html_url":"https://github.com/jadar","followers_url":"https://api.github.com/users/jadar/followers","following_url":"https://api.github.com/users/jadar/following{/other_user}","gists_url":"https://api.github.com/users/jadar/gists{/gist_id}","starred_url":"https://api.github.com/users/jadar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadar/subscriptions","organizations_url":"https://api.github.com/users/jadar/orgs","repos_url":"https://api.github.com/users/jadar/repos","events_url":"https://api.github.com/users/jadar/events{/privacy}","received_events_url":"https://api.github.com/users/jadar/received_events","type":"User","site_admin":false},"repo":{"id":93559564,"name":"ImagePicker","full_name":"jadar/ImagePicker","owner":{"login":"jadar","id":3793928,"avatar_url":"https://avatars1.githubusercontent.com/u/3793928?v=3","gravatar_id":"","url":"https://api.github.com/users/jadar","html_url":"https://github.com/jadar","followers_url":"https://api.github.com/users/jadar/followers","following_url":"https://api.github.com/users/jadar/following{/other_user}","gists_url":"https://api.github.com/users/jadar/gists{/gist_id}","starred_url":"https://api.github.com/users/jadar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadar/subscriptions","organizations_url":"https://api.github.com/users/jadar/orgs","repos_url":"https://api.github.com/users/jadar/repos","events_url":"https://api.github.com/users/jadar/events{/privacy}","received_events_url":"https://api.github.com/users/jadar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jadar/ImagePicker","description":":camera: Reinventing the way ImagePicker works.","fork":true,"url":"https://api.github.com/repos/jadar/ImagePicker","forks_url":"https://api.github.com/repos/jadar/ImagePicker/forks","keys_url":"https://api.github.com/repos/jadar/ImagePicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jadar/ImagePicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jadar/ImagePicker/teams","hooks_url":"https://api.github.com/repos/jadar/ImagePicker/hooks","issue_events_url":"https://api.github.com/repos/jadar/ImagePicker/issues/events{/number}","events_url":"https://api.github.com/repos/jadar/ImagePicker/events","assignees_url":"https://api.github.com/repos/jadar/ImagePicker/assignees{/user}","branches_url":"https://api.github.com/repos/jadar/ImagePicker/branches{/branch}","tags_url":"https://api.github.com/repos/jadar/ImagePicker/tags","blobs_url":"https://api.github.com/repos/jadar/ImagePicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jadar/ImagePicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jadar/ImagePicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jadar/ImagePicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jadar/ImagePicker/statuses/{sha}","languages_url":"https://api.github.com/repos/jadar/ImagePicker/languages","stargazers_url":"https://api.github.com/repos/jadar/ImagePicker/stargazers","contributors_url":"https://api.github.com/repos/jadar/ImagePicker/contributors","subscribers_url":"https://api.github.com/repos/jadar/ImagePicker/subscribers","subscription_url":"https://api.github.com/repos/jadar/ImagePicker/subscription","commits_url":"https://api.github.com/repos/jadar/ImagePicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jadar/ImagePicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jadar/ImagePicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jadar/ImagePicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jadar/ImagePicker/contents/{+path}","compare_url":"https://api.github.com/repos/jadar/ImagePicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jadar/ImagePicker/merges","archive_url":"https://api.github.com/repos/jadar/ImagePicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jadar/ImagePicker/downloads","issues_url":"https://api.github.com/repos/jadar/ImagePicker/issues{/number}","pulls_url":"https://api.github.com/repos/jadar/ImagePicker/pulls{/number}","milestones_url":"https://api.github.com/repos/jadar/ImagePicker/milestones{/number}","notifications_url":"https://api.github.com/repos/jadar/ImagePicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jadar/ImagePicker/labels{/name}","releases_url":"https://api.github.com/repos/jadar/ImagePicker/releases{/id}","deployments_url":"https://api.github.com/repos/jadar/ImagePicker/deployments","created_at":"2017-06-06T20:12:38Z","updated_at":"2017-06-06T20:12:40Z","pushed_at":"2017-07-07T20:26:42Z","git_url":"git://github.com/jadar/ImagePicker.git","ssh_url":"git@github.com:jadar/ImagePicker.git","clone_url":"https://github.com/jadar/ImagePicker.git","svn_url":"https://github.com/jadar/ImagePicker","homepage":"http://hyper.no","size":14390,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"hyperoslo:master","ref":"master","sha":"aeadc4a71dce93feff0a7717d80d1de891da36b5","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars0.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":40171919,"name":"ImagePicker","full_name":"hyperoslo/ImagePicker","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars0.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/ImagePicker","description":":camera: Reinventing the way ImagePicker works.","fork":false,"url":"https://api.github.com/repos/hyperoslo/ImagePicker","forks_url":"https://api.github.com/repos/hyperoslo/ImagePicker/forks","keys_url":"https://api.github.com/repos/hyperoslo/ImagePicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/ImagePicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/ImagePicker/teams","hooks_url":"https://api.github.com/repos/hyperoslo/ImagePicker/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/ImagePicker/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/ImagePicker/events","assignees_url":"https://api.github.com/repos/hyperoslo/ImagePicker/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/ImagePicker/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/ImagePicker/tags","blobs_url":"https://api.github.com/repos/hyperoslo/ImagePicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/ImagePicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/ImagePicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/ImagePicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/ImagePicker/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/ImagePicker/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/ImagePicker/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/ImagePicker/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/ImagePicker/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/ImagePicker/subscription","commits_url":"https://api.github.com/repos/hyperoslo/ImagePicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/ImagePicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/ImagePicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/ImagePicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/ImagePicker/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/ImagePicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/ImagePicker/merges","archive_url":"https://api.github.com/repos/hyperoslo/ImagePicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/ImagePicker/downloads","issues_url":"https://api.github.com/repos/hyperoslo/ImagePicker/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/ImagePicker/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/ImagePicker/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/ImagePicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/ImagePicker/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/ImagePicker/releases{/id}","deployments_url":"https://api.github.com/repos/hyperoslo/ImagePicker/deployments","created_at":"2015-08-04T08:13:33Z","updated_at":"2017-07-07T07:04:49Z","pushed_at":"2017-07-07T07:12:51Z","git_url":"git://github.com/hyperoslo/ImagePicker.git","ssh_url":"git@github.com:hyperoslo/ImagePicker.git","clone_url":"https://github.com/hyperoslo/ImagePicker.git","svn_url":"https://github.com/hyperoslo/ImagePicker","homepage":"http://hyper.no","size":14399,"stargazers_count":2938,"watchers_count":2938,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":294,"mirror_url":null,"open_issues_count":29,"forks":294,"open_issues":29,"watchers":2938,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperoslo/ImagePicker/pulls/317"},"html":{"href":"https://github.com/hyperoslo/ImagePicker/pull/317"},"issue":{"href":"https://api.github.com/repos/hyperoslo/ImagePicker/issues/317"},"comments":{"href":"https://api.github.com/repos/hyperoslo/ImagePicker/issues/317/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperoslo/ImagePicker/pulls/317/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperoslo/ImagePicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperoslo/ImagePicker/pulls/317/commits"},"statuses":{"href":"https://api.github.com/repos/hyperoslo/ImagePicker/statuses/3a85df7742dd40c6ab7d92360babe8ae8a8b082e"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":5,"deletions":5,"changed_files":4}}
{"actor":{"display_login":"jadar"}}