{"action":"created","comment":{"url":"https://api.github.com/repos/textileio/textile-mobile/pulls/comments/185302610","pull_request_review_id":116663491,"id":185302610,"diff_hunk":"@@ -32,55 +50,41 @@ class PhotoViewerScreen extends React.PureComponent {\n     )\n   }\n \n-  get caption () {\n-    return (\n-      <View style={{ bottom: 0, height: 65, backgroundColor: 'rgba(0, 0, 0, 0.7)', width: '100%', position: 'absolute', justifyContent: 'center' }}>\n-        <Text style={{ textAlign: 'center', color: 'white', fontSize: 15, fontStyle: 'italic' }}>{'Some metadata'}</Text>\n-      </View>\n-    )\n-  }\n+  // get caption () {\n+  //   return (\n+  //     <View style={{ bottom: 0, height: 65, backgroundColor: 'rgba(0, 0, 0, 0.7)', width: '100%', position: 'absolute', justifyContent: 'center' }}>\n+  //       <Text style={{ textAlign: 'center', color: 'white', fontSize: 15, fontStyle: 'italic' }}>{'Some metadata'}</Text>\n+  //     </View>\n+  //   )\n+  // }\n \n   renderImage(image) {\n-    const imageData = IPFS.syncGetPhotoData(image.image.hash + '/thumb')\n     return (\n-      <Image\n-        source={{uri: 'data:image/jpeg;base64,' + imageData}}\n-        style={image.style}\n-        resizeMode={image.resizeMode}\n-        capInsets={image.capInsets}\n-      />\n+      <View style={{ flex: 1, flexDirection: 'row', backgroundColor: 'rgba(0, 0, 0, 1)' }}>\n+        <Image\n+          source={{uri: 'https://localhost:9080/ipfs/' + image.hash + '/photo'}}\n+          style={{ flex: 1, width: null, height: null }}\n+          resizeMode=\"contain\"\n+        />\n+      </View>\n     )\n   }\n \n   render () {\n+    const item = this.props.navigation.state.params.item\n     return (\n       <View style={{flex: 1}}>\n         <StatusBar hidden />\n-        <Gallery","path":"App/Containers/PhotoViewerScreen.js","position":95,"original_position":95,"commit_id":"53cffba016e50fc814a9e31c69d970230f20f89a","original_commit_id":"53cffba016e50fc814a9e31c69d970230f20f89a","user":{"login":"asutula","id":528969,"avatar_url":"https://avatars3.githubusercontent.com/u/528969?v=4","gravatar_id":"","url":"https://api.github.com/users/asutula","html_url":"https://github.com/asutula","followers_url":"https://api.github.com/users/asutula/followers","following_url":"https://api.github.com/users/asutula/following{/other_user}","gists_url":"https://api.github.com/users/asutula/gists{/gist_id}","starred_url":"https://api.github.com/users/asutula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asutula/subscriptions","organizations_url":"https://api.github.com/users/asutula/orgs","repos_url":"https://api.github.com/users/asutula/repos","events_url":"https://api.github.com/users/asutula/events{/privacy}","received_events_url":"https://api.github.com/users/asutula/received_events","type":"User","site_admin":false},"body":"Guess I'm a little confused why you removed the `Gallery` component. So now you just just view a single image, but you can't swipe to the next/previous images? And there's probably no zooming either?","created_at":"2018-05-01T18:53:45Z","updated_at":"2018-05-01T18:53:45Z","html_url":"https://github.com/textileio/textile-mobile/pull/28#discussion_r185302610","pull_request_url":"https://api.github.com/repos/textileio/textile-mobile/pulls/28","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/textileio/textile-mobile/pulls/comments/185302610"},"html":{"href":"https://github.com/textileio/textile-mobile/pull/28#discussion_r185302610"},"pull_request":{"href":"https://api.github.com/repos/textileio/textile-mobile/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/textileio/textile-mobile/pulls/28","id":185124975,"html_url":"https://github.com/textileio/textile-mobile/pull/28","diff_url":"https://github.com/textileio/textile-mobile/pull/28.diff","patch_url":"https://github.com/textileio/textile-mobile/pull/28.patch","issue_url":"https://api.github.com/repos/textileio/textile-mobile/issues/28","number":28,"state":"open","locked":false,"title":"adds https support to mobile ios","user":{"login":"carsonfarmer","id":1220613,"avatar_url":"https://avatars3.githubusercontent.com/u/1220613?v=4","gravatar_id":"","url":"https://api.github.com/users/carsonfarmer","html_url":"https://github.com/carsonfarmer","followers_url":"https://api.github.com/users/carsonfarmer/followers","following_url":"https://api.github.com/users/carsonfarmer/following{/other_user}","gists_url":"https://api.github.com/users/carsonfarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/carsonfarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carsonfarmer/subscriptions","organizations_url":"https://api.github.com/users/carsonfarmer/orgs","repos_url":"https://api.github.com/users/carsonfarmer/repos","events_url":"https://api.github.com/users/carsonfarmer/events{/privacy}","received_events_url":"https://api.github.com/users/carsonfarmer/received_events","type":"User","site_admin":false},"body":"adds support for a mobile https server for pinned assets. still a work in progress in that cookies need to be implemented, and we still need to decide what to include in terms of metadata on the photo 'zoom' view (which was also added to this pr).","created_at":"2018-05-01T05:53:26Z","updated_at":"2018-05-01T18:53:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87c12a606e80a34e0c1c841b1253bbbd5f742247","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/textileio/textile-mobile/pulls/28/commits","review_comments_url":"https://api.github.com/repos/textileio/textile-mobile/pulls/28/comments","review_comment_url":"https://api.github.com/repos/textileio/textile-mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/textileio/textile-mobile/issues/28/comments","statuses_url":"https://api.github.com/repos/textileio/textile-mobile/statuses/53cffba016e50fc814a9e31c69d970230f20f89a","head":{"label":"textileio:carson/mobile-secure-gateway","ref":"carson/mobile-secure-gateway","sha":"53cffba016e50fc814a9e31c69d970230f20f89a","user":{"login":"textileio","id":35050041,"avatar_url":"https://avatars3.githubusercontent.com/u/35050041?v=4","gravatar_id":"","url":"https://api.github.com/users/textileio","html_url":"https://github.com/textileio","followers_url":"https://api.github.com/users/textileio/followers","following_url":"https://api.github.com/users/textileio/following{/other_user}","gists_url":"https://api.github.com/users/textileio/gists{/gist_id}","starred_url":"https://api.github.com/users/textileio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/textileio/subscriptions","organizations_url":"https://api.github.com/users/textileio/orgs","repos_url":"https://api.github.com/users/textileio/repos","events_url":"https://api.github.com/users/textileio/events{/privacy}","received_events_url":"https://api.github.com/users/textileio/received_events","type":"Organization","site_admin":false},"repo":{"id":128835983,"name":"textile-mobile","full_name":"textileio/textile-mobile","owner":{"login":"textileio","id":35050041,"avatar_url":"https://avatars3.githubusercontent.com/u/35050041?v=4","gravatar_id":"","url":"https://api.github.com/users/textileio","html_url":"https://github.com/textileio","followers_url":"https://api.github.com/users/textileio/followers","following_url":"https://api.github.com/users/textileio/following{/other_user}","gists_url":"https://api.github.com/users/textileio/gists{/gist_id}","starred_url":"https://api.github.com/users/textileio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/textileio/subscriptions","organizations_url":"https://api.github.com/users/textileio/orgs","repos_url":"https://api.github.com/users/textileio/repos","events_url":"https://api.github.com/users/textileio/events{/privacy}","received_events_url":"https://api.github.com/users/textileio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/textileio/textile-mobile","description":"Encrypted, secure, decentralized personal data wallet -- technology behind textile.photos","fork":false,"url":"https://api.github.com/repos/textileio/textile-mobile","forks_url":"https://api.github.com/repos/textileio/textile-mobile/forks","keys_url":"https://api.github.com/repos/textileio/textile-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/textileio/textile-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/textileio/textile-mobile/teams","hooks_url":"https://api.github.com/repos/textileio/textile-mobile/hooks","issue_events_url":"https://api.github.com/repos/textileio/textile-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/textileio/textile-mobile/events","assignees_url":"https://api.github.com/repos/textileio/textile-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/textileio/textile-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/textileio/textile-mobile/tags","blobs_url":"https://api.github.com/repos/textileio/textile-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/textileio/textile-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/textileio/textile-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/textileio/textile-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/textileio/textile-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/textileio/textile-mobile/languages","stargazers_url":"https://api.github.com/repos/textileio/textile-mobile/stargazers","contributors_url":"https://api.github.com/repos/textileio/textile-mobile/contributors","subscribers_url":"https://api.github.com/repos/textileio/textile-mobile/subscribers","subscription_url":"https://api.github.com/repos/textileio/textile-mobile/subscription","commits_url":"https://api.github.com/repos/textileio/textile-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/textileio/textile-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/textileio/textile-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/textileio/textile-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/textileio/textile-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/textileio/textile-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/textileio/textile-mobile/merges","archive_url":"https://api.github.com/repos/textileio/textile-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/textileio/textile-mobile/downloads","issues_url":"https://api.github.com/repos/textileio/textile-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/textileio/textile-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/textileio/textile-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/textileio/textile-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/textileio/textile-mobile/labels{/name}","releases_url":"https://api.github.com/repos/textileio/textile-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/textileio/textile-mobile/deployments","created_at":"2018-04-09T21:28:41Z","updated_at":"2018-05-01T17:13:20Z","pushed_at":"2018-05-01T18:33:09Z","git_url":"git://github.com/textileio/textile-mobile.git","ssh_url":"git@github.com:textileio/textile-mobile.git","clone_url":"https://github.com/textileio/textile-mobile.git","svn_url":"https://github.com/textileio/textile-mobile","homepage":"https://www.textile.photos/","size":348499,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":4,"default_branch":"master"}},"base":{"label":"textileio:master","ref":"master","sha":"0a4211c58d075ecf9d5dad885ab335b553f57cc8","user":{"login":"textileio","id":35050041,"avatar_url":"https://avatars3.githubusercontent.com/u/35050041?v=4","gravatar_id":"","url":"https://api.github.com/users/textileio","html_url":"https://github.com/textileio","followers_url":"https://api.github.com/users/textileio/followers","following_url":"https://api.github.com/users/textileio/following{/other_user}","gists_url":"https://api.github.com/users/textileio/gists{/gist_id}","starred_url":"https://api.github.com/users/textileio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/textileio/subscriptions","organizations_url":"https://api.github.com/users/textileio/orgs","repos_url":"https://api.github.com/users/textileio/repos","events_url":"https://api.github.com/users/textileio/events{/privacy}","received_events_url":"https://api.github.com/users/textileio/received_events","type":"Organization","site_admin":false},"repo":{"id":128835983,"name":"textile-mobile","full_name":"textileio/textile-mobile","owner":{"login":"textileio","id":35050041,"avatar_url":"https://avatars3.githubusercontent.com/u/35050041?v=4","gravatar_id":"","url":"https://api.github.com/users/textileio","html_url":"https://github.com/textileio","followers_url":"https://api.github.com/users/textileio/followers","following_url":"https://api.github.com/users/textileio/following{/other_user}","gists_url":"https://api.github.com/users/textileio/gists{/gist_id}","starred_url":"https://api.github.com/users/textileio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/textileio/subscriptions","organizations_url":"https://api.github.com/users/textileio/orgs","repos_url":"https://api.github.com/users/textileio/repos","events_url":"https://api.github.com/users/textileio/events{/privacy}","received_events_url":"https://api.github.com/users/textileio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/textileio/textile-mobile","description":"Encrypted, secure, decentralized personal data wallet -- technology behind textile.photos","fork":false,"url":"https://api.github.com/repos/textileio/textile-mobile","forks_url":"https://api.github.com/repos/textileio/textile-mobile/forks","keys_url":"https://api.github.com/repos/textileio/textile-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/textileio/textile-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/textileio/textile-mobile/teams","hooks_url":"https://api.github.com/repos/textileio/textile-mobile/hooks","issue_events_url":"https://api.github.com/repos/textileio/textile-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/textileio/textile-mobile/events","assignees_url":"https://api.github.com/repos/textileio/textile-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/textileio/textile-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/textileio/textile-mobile/tags","blobs_url":"https://api.github.com/repos/textileio/textile-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/textileio/textile-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/textileio/textile-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/textileio/textile-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/textileio/textile-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/textileio/textile-mobile/languages","stargazers_url":"https://api.github.com/repos/textileio/textile-mobile/stargazers","contributors_url":"https://api.github.com/repos/textileio/textile-mobile/contributors","subscribers_url":"https://api.github.com/repos/textileio/textile-mobile/subscribers","subscription_url":"https://api.github.com/repos/textileio/textile-mobile/subscription","commits_url":"https://api.github.com/repos/textileio/textile-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/textileio/textile-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/textileio/textile-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/textileio/textile-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/textileio/textile-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/textileio/textile-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/textileio/textile-mobile/merges","archive_url":"https://api.github.com/repos/textileio/textile-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/textileio/textile-mobile/downloads","issues_url":"https://api.github.com/repos/textileio/textile-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/textileio/textile-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/textileio/textile-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/textileio/textile-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/textileio/textile-mobile/labels{/name}","releases_url":"https://api.github.com/repos/textileio/textile-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/textileio/textile-mobile/deployments","created_at":"2018-04-09T21:28:41Z","updated_at":"2018-05-01T17:13:20Z","pushed_at":"2018-05-01T18:33:09Z","git_url":"git://github.com/textileio/textile-mobile.git","ssh_url":"git@github.com:textileio/textile-mobile.git","clone_url":"https://github.com/textileio/textile-mobile.git","svn_url":"https://github.com/textileio/textile-mobile","homepage":"https://www.textile.photos/","size":348499,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/textileio/textile-mobile/pulls/28"},"html":{"href":"https://github.com/textileio/textile-mobile/pull/28"},"issue":{"href":"https://api.github.com/repos/textileio/textile-mobile/issues/28"},"comments":{"href":"https://api.github.com/repos/textileio/textile-mobile/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/textileio/textile-mobile/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/textileio/textile-mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/textileio/textile-mobile/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/textileio/textile-mobile/statuses/53cffba016e50fc814a9e31c69d970230f20f89a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"asutula"}}