{"action":"created","comment":{"url":"https://api.github.com/repos/simpledotorg/simple-android/pulls/comments/257957111","pull_request_review_id":205108516,"id":257957111,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1Nzk1NzExMQ==","diff_hunk":"@@ -0,0 +1,67 @@\n+package org.simple.clinic.scanid\n+\n+import android.annotation.SuppressLint\n+import android.content.Context\n+import android.util.AttributeSet\n+import android.widget.Toast\n+import androidx.appcompat.widget.Toolbar\n+import androidx.constraintlayout.widget.ConstraintLayout\n+import com.jakewharton.rxbinding2.view.RxView\n+import io.reactivex.Observable\n+import io.reactivex.android.schedulers.AndroidSchedulers.mainThread\n+import io.reactivex.schedulers.Schedulers.io\n+import kotterknife.bindView\n+import org.simple.clinic.R\n+import org.simple.clinic.activity.TheActivity\n+import org.simple.clinic.router.screen.ScreenRouter\n+import org.simple.clinic.search.PatientSearchScreenKey\n+import org.simple.clinic.widgets.ScreenDestroyed\n+import org.simple.clinic.widgets.UiEvent\n+import org.simple.clinic.widgets.hideKeyboard\n+import org.simple.clinic.widgets.qrcodescanner.QrCodeScannerView\n+import javax.inject.Inject\n+\n+class ScanSimpleIdScreen(context: Context, attrs: AttributeSet) : ConstraintLayout(context, attrs) {","path":"app/src/main/java/org/simple/clinic/scanid/ScanSimpleIdScreen.kt","position":24,"original_position":24,"commit_id":"57ce1275f01c715206c12f81a9180126853ec183","original_commit_id":"57ce1275f01c715206c12f81a9180126853ec183","user":{"login":"saket","id":2387680,"node_id":"MDQ6VXNlcjIzODc2ODA=","avatar_url":"https://avatars3.githubusercontent.com/u/2387680?v=4","gravatar_id":"","url":"https://api.github.com/users/saket","html_url":"https://github.com/saket","followers_url":"https://api.github.com/users/saket/followers","following_url":"https://api.github.com/users/saket/following{/other_user}","gists_url":"https://api.github.com/users/saket/gists{/gist_id}","starred_url":"https://api.github.com/users/saket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saket/subscriptions","organizations_url":"https://api.github.com/users/saket/orgs","repos_url":"https://api.github.com/users/saket/repos","events_url":"https://api.github.com/users/saket/events{/privacy}","received_events_url":"https://api.github.com/users/saket/received_events","type":"User","site_admin":false},"body":"The camera preview doesn't look normal. It seems like the library is modifying the resolution. Is there a configuration for this?","created_at":"2019-02-19T09:38:19Z","updated_at":"2019-02-19T09:38:25Z","html_url":"https://github.com/simpledotorg/simple-android/pull/481#discussion_r257957111","pull_request_url":"https://api.github.com/repos/simpledotorg/simple-android/pulls/481","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/simpledotorg/simple-android/pulls/comments/257957111"},"html":{"href":"https://github.com/simpledotorg/simple-android/pull/481#discussion_r257957111"},"pull_request":{"href":"https://api.github.com/repos/simpledotorg/simple-android/pulls/481"}}},"pull_request":{"url":"https://api.github.com/repos/simpledotorg/simple-android/pulls/481","id":250299069,"node_id":"MDExOlB1bGxSZXF1ZXN0MjUwMjk5MDY5","html_url":"https://github.com/simpledotorg/simple-android/pull/481","diff_url":"https://github.com/simpledotorg/simple-android/pull/481.diff","patch_url":"https://github.com/simpledotorg/simple-android/pull/481.patch","issue_url":"https://api.github.com/repos/simpledotorg/simple-android/issues/481","number":481,"state":"open","locked":false,"title":"Add Scan QR screen","user":{"login":"vinaysshenoy","id":1978065,"node_id":"MDQ6VXNlcjE5NzgwNjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1978065?v=4","gravatar_id":"","url":"https://api.github.com/users/vinaysshenoy","html_url":"https://github.com/vinaysshenoy","followers_url":"https://api.github.com/users/vinaysshenoy/followers","following_url":"https://api.github.com/users/vinaysshenoy/following{/other_user}","gists_url":"https://api.github.com/users/vinaysshenoy/gists{/gist_id}","starred_url":"https://api.github.com/users/vinaysshenoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinaysshenoy/subscriptions","organizations_url":"https://api.github.com/users/vinaysshenoy/orgs","repos_url":"https://api.github.com/users/vinaysshenoy/repos","events_url":"https://api.github.com/users/vinaysshenoy/events{/privacy}","received_events_url":"https://api.github.com/users/vinaysshenoy/received_events","type":"User","site_admin":false},"body":"https://www.pivotaltracker.com/story/show/163689401","created_at":"2019-02-05T06:44:47Z","updated_at":"2019-02-19T09:38:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45bdc17d2717b12584e1567a4c05ef47764ee5da","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/simpledotorg/simple-android/pulls/481/commits","review_comments_url":"https://api.github.com/repos/simpledotorg/simple-android/pulls/481/comments","review_comment_url":"https://api.github.com/repos/simpledotorg/simple-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/simpledotorg/simple-android/issues/481/comments","statuses_url":"https://api.github.com/repos/simpledotorg/simple-android/statuses/57ce1275f01c715206c12f81a9180126853ec183","head":{"label":"simpledotorg:vs/05feb/add-scan-id-screen","ref":"vs/05feb/add-scan-id-screen","sha":"57ce1275f01c715206c12f81a9180126853ec183","user":{"login":"simpledotorg","id":40570251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNTcwMjUx","avatar_url":"https://avatars0.githubusercontent.com/u/40570251?v=4","gravatar_id":"","url":"https://api.github.com/users/simpledotorg","html_url":"https://github.com/simpledotorg","followers_url":"https://api.github.com/users/simpledotorg/followers","following_url":"https://api.github.com/users/simpledotorg/following{/other_user}","gists_url":"https://api.github.com/users/simpledotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/simpledotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpledotorg/subscriptions","organizations_url":"https://api.github.com/users/simpledotorg/orgs","repos_url":"https://api.github.com/users/simpledotorg/repos","events_url":"https://api.github.com/users/simpledotorg/events{/privacy}","received_events_url":"https://api.github.com/users/simpledotorg/received_events","type":"Organization","site_admin":false},"repo":{"id":132515649,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1MTU2NDk=","name":"simple-android","full_name":"simpledotorg/simple-android","private":false,"owner":{"login":"simpledotorg","id":40570251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNTcwMjUx","avatar_url":"https://avatars0.githubusercontent.com/u/40570251?v=4","gravatar_id":"","url":"https://api.github.com/users/simpledotorg","html_url":"https://github.com/simpledotorg","followers_url":"https://api.github.com/users/simpledotorg/followers","following_url":"https://api.github.com/users/simpledotorg/following{/other_user}","gists_url":"https://api.github.com/users/simpledotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/simpledotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpledotorg/subscriptions","organizations_url":"https://api.github.com/users/simpledotorg/orgs","repos_url":"https://api.github.com/users/simpledotorg/repos","events_url":"https://api.github.com/users/simpledotorg/events{/privacy}","received_events_url":"https://api.github.com/users/simpledotorg/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/simpledotorg/simple-android","description":"An Android app for recording blood pressure measurements","fork":false,"url":"https://api.github.com/repos/simpledotorg/simple-android","forks_url":"https://api.github.com/repos/simpledotorg/simple-android/forks","keys_url":"https://api.github.com/repos/simpledotorg/simple-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simpledotorg/simple-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simpledotorg/simple-android/teams","hooks_url":"https://api.github.com/repos/simpledotorg/simple-android/hooks","issue_events_url":"https://api.github.com/repos/simpledotorg/simple-android/issues/events{/number}","events_url":"https://api.github.com/repos/simpledotorg/simple-android/events","assignees_url":"https://api.github.com/repos/simpledotorg/simple-android/assignees{/user}","branches_url":"https://api.github.com/repos/simpledotorg/simple-android/branches{/branch}","tags_url":"https://api.github.com/repos/simpledotorg/simple-android/tags","blobs_url":"https://api.github.com/repos/simpledotorg/simple-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simpledotorg/simple-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simpledotorg/simple-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/simpledotorg/simple-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simpledotorg/simple-android/statuses/{sha}","languages_url":"https://api.github.com/repos/simpledotorg/simple-android/languages","stargazers_url":"https://api.github.com/repos/simpledotorg/simple-android/stargazers","contributors_url":"https://api.github.com/repos/simpledotorg/simple-android/contributors","subscribers_url":"https://api.github.com/repos/simpledotorg/simple-android/subscribers","subscription_url":"https://api.github.com/repos/simpledotorg/simple-android/subscription","commits_url":"https://api.github.com/repos/simpledotorg/simple-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/simpledotorg/simple-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/simpledotorg/simple-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/simpledotorg/simple-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/simpledotorg/simple-android/contents/{+path}","compare_url":"https://api.github.com/repos/simpledotorg/simple-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simpledotorg/simple-android/merges","archive_url":"https://api.github.com/repos/simpledotorg/simple-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simpledotorg/simple-android/downloads","issues_url":"https://api.github.com/repos/simpledotorg/simple-android/issues{/number}","pulls_url":"https://api.github.com/repos/simpledotorg/simple-android/pulls{/number}","milestones_url":"https://api.github.com/repos/simpledotorg/simple-android/milestones{/number}","notifications_url":"https://api.github.com/repos/simpledotorg/simple-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simpledotorg/simple-android/labels{/name}","releases_url":"https://api.github.com/repos/simpledotorg/simple-android/releases{/id}","deployments_url":"https://api.github.com/repos/simpledotorg/simple-android/deployments","created_at":"2018-05-07T20:56:54Z","updated_at":"2019-02-19T08:43:34Z","pushed_at":"2019-02-19T09:34:41Z","git_url":"git://github.com/simpledotorg/simple-android.git","ssh_url":"git@github.com:simpledotorg/simple-android.git","clone_url":"https://github.com/simpledotorg/simple-android.git","svn_url":"https://github.com/simpledotorg/simple-android","homepage":"https://www.simple.org","size":11070,"stargazers_count":63,"watchers_count":63,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":17,"open_issues":6,"watchers":63,"default_branch":"master"}},"base":{"label":"simpledotorg:master","ref":"master","sha":"22ca1cce9db2e6d5d0d0e9826e6a2b11aa46888b","user":{"login":"simpledotorg","id":40570251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNTcwMjUx","avatar_url":"https://avatars0.githubusercontent.com/u/40570251?v=4","gravatar_id":"","url":"https://api.github.com/users/simpledotorg","html_url":"https://github.com/simpledotorg","followers_url":"https://api.github.com/users/simpledotorg/followers","following_url":"https://api.github.com/users/simpledotorg/following{/other_user}","gists_url":"https://api.github.com/users/simpledotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/simpledotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpledotorg/subscriptions","organizations_url":"https://api.github.com/users/simpledotorg/orgs","repos_url":"https://api.github.com/users/simpledotorg/repos","events_url":"https://api.github.com/users/simpledotorg/events{/privacy}","received_events_url":"https://api.github.com/users/simpledotorg/received_events","type":"Organization","site_admin":false},"repo":{"id":132515649,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1MTU2NDk=","name":"simple-android","full_name":"simpledotorg/simple-android","private":false,"owner":{"login":"simpledotorg","id":40570251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNTcwMjUx","avatar_url":"https://avatars0.githubusercontent.com/u/40570251?v=4","gravatar_id":"","url":"https://api.github.com/users/simpledotorg","html_url":"https://github.com/simpledotorg","followers_url":"https://api.github.com/users/simpledotorg/followers","following_url":"https://api.github.com/users/simpledotorg/following{/other_user}","gists_url":"https://api.github.com/users/simpledotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/simpledotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpledotorg/subscriptions","organizations_url":"https://api.github.com/users/simpledotorg/orgs","repos_url":"https://api.github.com/users/simpledotorg/repos","events_url":"https://api.github.com/users/simpledotorg/events{/privacy}","received_events_url":"https://api.github.com/users/simpledotorg/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/simpledotorg/simple-android","description":"An Android app for recording blood pressure measurements","fork":false,"url":"https://api.github.com/repos/simpledotorg/simple-android","forks_url":"https://api.github.com/repos/simpledotorg/simple-android/forks","keys_url":"https://api.github.com/repos/simpledotorg/simple-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simpledotorg/simple-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simpledotorg/simple-android/teams","hooks_url":"https://api.github.com/repos/simpledotorg/simple-android/hooks","issue_events_url":"https://api.github.com/repos/simpledotorg/simple-android/issues/events{/number}","events_url":"https://api.github.com/repos/simpledotorg/simple-android/events","assignees_url":"https://api.github.com/repos/simpledotorg/simple-android/assignees{/user}","branches_url":"https://api.github.com/repos/simpledotorg/simple-android/branches{/branch}","tags_url":"https://api.github.com/repos/simpledotorg/simple-android/tags","blobs_url":"https://api.github.com/repos/simpledotorg/simple-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simpledotorg/simple-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simpledotorg/simple-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/simpledotorg/simple-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simpledotorg/simple-android/statuses/{sha}","languages_url":"https://api.github.com/repos/simpledotorg/simple-android/languages","stargazers_url":"https://api.github.com/repos/simpledotorg/simple-android/stargazers","contributors_url":"https://api.github.com/repos/simpledotorg/simple-android/contributors","subscribers_url":"https://api.github.com/repos/simpledotorg/simple-android/subscribers","subscription_url":"https://api.github.com/repos/simpledotorg/simple-android/subscription","commits_url":"https://api.github.com/repos/simpledotorg/simple-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/simpledotorg/simple-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/simpledotorg/simple-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/simpledotorg/simple-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/simpledotorg/simple-android/contents/{+path}","compare_url":"https://api.github.com/repos/simpledotorg/simple-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simpledotorg/simple-android/merges","archive_url":"https://api.github.com/repos/simpledotorg/simple-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simpledotorg/simple-android/downloads","issues_url":"https://api.github.com/repos/simpledotorg/simple-android/issues{/number}","pulls_url":"https://api.github.com/repos/simpledotorg/simple-android/pulls{/number}","milestones_url":"https://api.github.com/repos/simpledotorg/simple-android/milestones{/number}","notifications_url":"https://api.github.com/repos/simpledotorg/simple-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simpledotorg/simple-android/labels{/name}","releases_url":"https://api.github.com/repos/simpledotorg/simple-android/releases{/id}","deployments_url":"https://api.github.com/repos/simpledotorg/simple-android/deployments","created_at":"2018-05-07T20:56:54Z","updated_at":"2019-02-19T08:43:34Z","pushed_at":"2019-02-19T09:34:41Z","git_url":"git://github.com/simpledotorg/simple-android.git","ssh_url":"git@github.com:simpledotorg/simple-android.git","clone_url":"https://github.com/simpledotorg/simple-android.git","svn_url":"https://github.com/simpledotorg/simple-android","homepage":"https://www.simple.org","size":11070,"stargazers_count":63,"watchers_count":63,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":17,"open_issues":6,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/simpledotorg/simple-android/pulls/481"},"html":{"href":"https://github.com/simpledotorg/simple-android/pull/481"},"issue":{"href":"https://api.github.com/repos/simpledotorg/simple-android/issues/481"},"comments":{"href":"https://api.github.com/repos/simpledotorg/simple-android/issues/481/comments"},"review_comments":{"href":"https://api.github.com/repos/simpledotorg/simple-android/pulls/481/comments"},"review_comment":{"href":"https://api.github.com/repos/simpledotorg/simple-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/simpledotorg/simple-android/pulls/481/commits"},"statuses":{"href":"https://api.github.com/repos/simpledotorg/simple-android/statuses/57ce1275f01c715206c12f81a9180126853ec183"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"saket"}}