{"action":"created","comment":{"url":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/comments/234164395","pull_request_review_id":175747635,"id":234164395,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDE2NDM5NQ==","diff_hunk":"@@ -1 +1,58 @@\n-// hhjg\n+import React, { Component } from 'react';\n+import { Text, View, StyleSheet, Alert } from 'react-native';\n+import { Constants, BarCodeScanner, Permissions } from 'expo';\n+\n+class InputScanner extends React.Component {\n+  state = {\n+    hasCameraPermission: null,\n+    scannedBarCode: null,","path":"components/InputScanner.js","position":9,"original_position":9,"commit_id":"22e8bc5ff2b7c4b5f53bb35f81f26dba7284f29c","original_commit_id":"22e8bc5ff2b7c4b5f53bb35f81f26dba7284f29c","user":{"login":"AlexDresco","id":37814413,"node_id":"MDQ6VXNlcjM3ODE0NDEz","avatar_url":"https://avatars0.githubusercontent.com/u/37814413?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexDresco","html_url":"https://github.com/AlexDresco","followers_url":"https://api.github.com/users/AlexDresco/followers","following_url":"https://api.github.com/users/AlexDresco/following{/other_user}","gists_url":"https://api.github.com/users/AlexDresco/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDresco/subscriptions","organizations_url":"https://api.github.com/users/AlexDresco/orgs","repos_url":"https://api.github.com/users/AlexDresco/repos","events_url":"https://api.github.com/users/AlexDresco/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDresco/received_events","type":"User","site_admin":false},"body":"Nice - again that can be access with InputScanner.state.scannedBarCode. \r\nWe'll need to have a way to check whether the code comes from the manual input or scanned input. ","created_at":"2018-11-16T10:53:17Z","updated_at":"2018-11-16T10:53:50Z","html_url":"https://github.com/AlexDresco/PalmAlarm/pull/2#discussion_r234164395","pull_request_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/comments/234164395"},"html":{"href":"https://github.com/AlexDresco/PalmAlarm/pull/2#discussion_r234164395"},"pull_request":{"href":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/2","id":231486754,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNDg2NzU0","html_url":"https://github.com/AlexDresco/PalmAlarm/pull/2","diff_url":"https://github.com/AlexDresco/PalmAlarm/pull/2.diff","patch_url":"https://github.com/AlexDresco/PalmAlarm/pull/2.patch","issue_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/issues/2","number":2,"state":"open","locked":false,"title":"Navigation1","user":{"login":"victorjefferies","id":13468891,"node_id":"MDQ6VXNlcjEzNDY4ODkx","avatar_url":"https://avatars0.githubusercontent.com/u/13468891?v=4","gravatar_id":"","url":"https://api.github.com/users/victorjefferies","html_url":"https://github.com/victorjefferies","followers_url":"https://api.github.com/users/victorjefferies/followers","following_url":"https://api.github.com/users/victorjefferies/following{/other_user}","gists_url":"https://api.github.com/users/victorjefferies/gists{/gist_id}","starred_url":"https://api.github.com/users/victorjefferies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorjefferies/subscriptions","organizations_url":"https://api.github.com/users/victorjefferies/orgs","repos_url":"https://api.github.com/users/victorjefferies/repos","events_url":"https://api.github.com/users/victorjefferies/events{/privacy}","received_events_url":"https://api.github.com/users/victorjefferies/received_events","type":"User","site_admin":false},"body":"Camera and manual input ","created_at":"2018-11-16T10:41:16Z","updated_at":"2018-11-16T10:53:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c26030782b783e5e4a72c0947734b13c0a3022e","assignee":{"login":"Din-s1","id":22420906,"node_id":"MDQ6VXNlcjIyNDIwOTA2","avatar_url":"https://avatars1.githubusercontent.com/u/22420906?v=4","gravatar_id":"","url":"https://api.github.com/users/Din-s1","html_url":"https://github.com/Din-s1","followers_url":"https://api.github.com/users/Din-s1/followers","following_url":"https://api.github.com/users/Din-s1/following{/other_user}","gists_url":"https://api.github.com/users/Din-s1/gists{/gist_id}","starred_url":"https://api.github.com/users/Din-s1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Din-s1/subscriptions","organizations_url":"https://api.github.com/users/Din-s1/orgs","repos_url":"https://api.github.com/users/Din-s1/repos","events_url":"https://api.github.com/users/Din-s1/events{/privacy}","received_events_url":"https://api.github.com/users/Din-s1/received_events","type":"User","site_admin":false},"assignees":[{"login":"Din-s1","id":22420906,"node_id":"MDQ6VXNlcjIyNDIwOTA2","avatar_url":"https://avatars1.githubusercontent.com/u/22420906?v=4","gravatar_id":"","url":"https://api.github.com/users/Din-s1","html_url":"https://github.com/Din-s1","followers_url":"https://api.github.com/users/Din-s1/followers","following_url":"https://api.github.com/users/Din-s1/following{/other_user}","gists_url":"https://api.github.com/users/Din-s1/gists{/gist_id}","starred_url":"https://api.github.com/users/Din-s1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Din-s1/subscriptions","organizations_url":"https://api.github.com/users/Din-s1/orgs","repos_url":"https://api.github.com/users/Din-s1/repos","events_url":"https://api.github.com/users/Din-s1/events{/privacy}","received_events_url":"https://api.github.com/users/Din-s1/received_events","type":"User","site_admin":false},{"login":"Ruaridhi","id":29048259,"node_id":"MDQ6VXNlcjI5MDQ4MjU5","avatar_url":"https://avatars0.githubusercontent.com/u/29048259?v=4","gravatar_id":"","url":"https://api.github.com/users/Ruaridhi","html_url":"https://github.com/Ruaridhi","followers_url":"https://api.github.com/users/Ruaridhi/followers","following_url":"https://api.github.com/users/Ruaridhi/following{/other_user}","gists_url":"https://api.github.com/users/Ruaridhi/gists{/gist_id}","starred_url":"https://api.github.com/users/Ruaridhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ruaridhi/subscriptions","organizations_url":"https://api.github.com/users/Ruaridhi/orgs","repos_url":"https://api.github.com/users/Ruaridhi/repos","events_url":"https://api.github.com/users/Ruaridhi/events{/privacy}","received_events_url":"https://api.github.com/users/Ruaridhi/received_events","type":"User","site_admin":false},{"login":"AlexDresco","id":37814413,"node_id":"MDQ6VXNlcjM3ODE0NDEz","avatar_url":"https://avatars0.githubusercontent.com/u/37814413?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexDresco","html_url":"https://github.com/AlexDresco","followers_url":"https://api.github.com/users/AlexDresco/followers","following_url":"https://api.github.com/users/AlexDresco/following{/other_user}","gists_url":"https://api.github.com/users/AlexDresco/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDresco/subscriptions","organizations_url":"https://api.github.com/users/AlexDresco/orgs","repos_url":"https://api.github.com/users/AlexDresco/repos","events_url":"https://api.github.com/users/AlexDresco/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDresco/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/2/commits","review_comments_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/2/comments","review_comment_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/issues/2/comments","statuses_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/statuses/22e8bc5ff2b7c4b5f53bb35f81f26dba7284f29c","head":{"label":"AlexDresco:Navigation1","ref":"Navigation1","sha":"22e8bc5ff2b7c4b5f53bb35f81f26dba7284f29c","user":{"login":"AlexDresco","id":37814413,"node_id":"MDQ6VXNlcjM3ODE0NDEz","avatar_url":"https://avatars0.githubusercontent.com/u/37814413?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexDresco","html_url":"https://github.com/AlexDresco","followers_url":"https://api.github.com/users/AlexDresco/followers","following_url":"https://api.github.com/users/AlexDresco/following{/other_user}","gists_url":"https://api.github.com/users/AlexDresco/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDresco/subscriptions","organizations_url":"https://api.github.com/users/AlexDresco/orgs","repos_url":"https://api.github.com/users/AlexDresco/repos","events_url":"https://api.github.com/users/AlexDresco/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDresco/received_events","type":"User","site_admin":false},"repo":{"id":157548325,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc1NDgzMjU=","name":"PalmAlarm","full_name":"AlexDresco/PalmAlarm","private":false,"owner":{"login":"AlexDresco","id":37814413,"node_id":"MDQ6VXNlcjM3ODE0NDEz","avatar_url":"https://avatars0.githubusercontent.com/u/37814413?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexDresco","html_url":"https://github.com/AlexDresco","followers_url":"https://api.github.com/users/AlexDresco/followers","following_url":"https://api.github.com/users/AlexDresco/following{/other_user}","gists_url":"https://api.github.com/users/AlexDresco/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDresco/subscriptions","organizations_url":"https://api.github.com/users/AlexDresco/orgs","repos_url":"https://api.github.com/users/AlexDresco/repos","events_url":"https://api.github.com/users/AlexDresco/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDresco/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AlexDresco/PalmAlarm","description":null,"fork":false,"url":"https://api.github.com/repos/AlexDresco/PalmAlarm","forks_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/forks","keys_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/teams","hooks_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/hooks","issue_events_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/issues/events{/number}","events_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/events","assignees_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/assignees{/user}","branches_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/branches{/branch}","tags_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/tags","blobs_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/languages","stargazers_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/stargazers","contributors_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/contributors","subscribers_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/subscribers","subscription_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/subscription","commits_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/contents/{+path}","compare_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/merges","archive_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/downloads","issues_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/issues{/number}","pulls_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/labels{/name}","releases_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/releases{/id}","deployments_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/deployments","created_at":"2018-11-14T12:51:58Z","updated_at":"2018-11-14T12:52:43Z","pushed_at":"2018-11-16T10:41:17Z","git_url":"git://github.com/AlexDresco/PalmAlarm.git","ssh_url":"git@github.com:AlexDresco/PalmAlarm.git","clone_url":"https://github.com/AlexDresco/PalmAlarm.git","svn_url":"https://github.com/AlexDresco/PalmAlarm","homepage":null,"size":2133,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"AlexDresco:master","ref":"master","sha":"9f84013fc8b12bb426eb92ae5328990eb53bd988","user":{"login":"AlexDresco","id":37814413,"node_id":"MDQ6VXNlcjM3ODE0NDEz","avatar_url":"https://avatars0.githubusercontent.com/u/37814413?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexDresco","html_url":"https://github.com/AlexDresco","followers_url":"https://api.github.com/users/AlexDresco/followers","following_url":"https://api.github.com/users/AlexDresco/following{/other_user}","gists_url":"https://api.github.com/users/AlexDresco/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDresco/subscriptions","organizations_url":"https://api.github.com/users/AlexDresco/orgs","repos_url":"https://api.github.com/users/AlexDresco/repos","events_url":"https://api.github.com/users/AlexDresco/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDresco/received_events","type":"User","site_admin":false},"repo":{"id":157548325,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc1NDgzMjU=","name":"PalmAlarm","full_name":"AlexDresco/PalmAlarm","private":false,"owner":{"login":"AlexDresco","id":37814413,"node_id":"MDQ6VXNlcjM3ODE0NDEz","avatar_url":"https://avatars0.githubusercontent.com/u/37814413?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexDresco","html_url":"https://github.com/AlexDresco","followers_url":"https://api.github.com/users/AlexDresco/followers","following_url":"https://api.github.com/users/AlexDresco/following{/other_user}","gists_url":"https://api.github.com/users/AlexDresco/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDresco/subscriptions","organizations_url":"https://api.github.com/users/AlexDresco/orgs","repos_url":"https://api.github.com/users/AlexDresco/repos","events_url":"https://api.github.com/users/AlexDresco/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDresco/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AlexDresco/PalmAlarm","description":null,"fork":false,"url":"https://api.github.com/repos/AlexDresco/PalmAlarm","forks_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/forks","keys_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/teams","hooks_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/hooks","issue_events_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/issues/events{/number}","events_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/events","assignees_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/assignees{/user}","branches_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/branches{/branch}","tags_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/tags","blobs_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/languages","stargazers_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/stargazers","contributors_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/contributors","subscribers_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/subscribers","subscription_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/subscription","commits_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/contents/{+path}","compare_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/merges","archive_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/downloads","issues_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/issues{/number}","pulls_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/labels{/name}","releases_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/releases{/id}","deployments_url":"https://api.github.com/repos/AlexDresco/PalmAlarm/deployments","created_at":"2018-11-14T12:51:58Z","updated_at":"2018-11-14T12:52:43Z","pushed_at":"2018-11-16T10:41:17Z","git_url":"git://github.com/AlexDresco/PalmAlarm.git","ssh_url":"git@github.com:AlexDresco/PalmAlarm.git","clone_url":"https://github.com/AlexDresco/PalmAlarm.git","svn_url":"https://github.com/AlexDresco/PalmAlarm","homepage":null,"size":2133,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/2"},"html":{"href":"https://github.com/AlexDresco/PalmAlarm/pull/2"},"issue":{"href":"https://api.github.com/repos/AlexDresco/PalmAlarm/issues/2"},"comments":{"href":"https://api.github.com/repos/AlexDresco/PalmAlarm/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlexDresco/PalmAlarm/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/AlexDresco/PalmAlarm/statuses/22e8bc5ff2b7c4b5f53bb35f81f26dba7284f29c"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"AlexDresco"}}