{"action":"created","issue":{"url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/422","repository_url":"https://api.github.com/repos/onfido/onfido-sdk-ui","labels_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/422/labels{/name}","comments_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/422/comments","events_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/422/events","html_url":"https://github.com/onfido/onfido-sdk-ui/pull/422","id":352508499,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5ODAyNDc4","number":422,"title":"Feature/return variant in callback cx 2381","user":{"login":"stefaniacardenas","id":7127427,"node_id":"MDQ6VXNlcjcxMjc0Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7127427?v=4","gravatar_id":"","url":"https://api.github.com/users/stefaniacardenas","html_url":"https://github.com/stefaniacardenas","followers_url":"https://api.github.com/users/stefaniacardenas/followers","following_url":"https://api.github.com/users/stefaniacardenas/following{/other_user}","gists_url":"https://api.github.com/users/stefaniacardenas/gists{/gist_id}","starred_url":"https://api.github.com/users/stefaniacardenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefaniacardenas/subscriptions","organizations_url":"https://api.github.com/users/stefaniacardenas/orgs","repos_url":"https://api.github.com/users/stefaniacardenas/repos","events_url":"https://api.github.com/users/stefaniacardenas/events{/privacy}","received_events_url":"https://api.github.com/users/stefaniacardenas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-21T12:03:58Z","updated_at":"2018-08-22T13:28:32Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/onfido/onfido-sdk-ui/pulls/422","html_url":"https://github.com/onfido/onfido-sdk-ui/pull/422","diff_url":"https://github.com/onfido/onfido-sdk-ui/pull/422.diff","patch_url":"https://github.com/onfido/onfido-sdk-ui/pull/422.patch"},"body":"# Problem\r\nDevelopers should be informed of the variant used for the face step.\r\n\r\n# Solution\r\nThe SDK can be initiated with the following options for the face step:\r\n`\r\n{\r\n    options: {\r\n      requestedVariant:  'video' | 'standard'\r\n    }\r\n  }\r\n`\r\nIf the `requestedVariant` is 'video' but the video cannot be taken because of missing webcam or other issue, we will fallback to selfie.\r\n\r\nThe callback will return `{variant: 'video'}`, if the SDK captured a video otherwise it will return `{variant: 'standard'}` to indicate that a photo has been captured.\r\nThe variant can be used to trigger a facial similarity check.\r\n\r\n## Checklist\r\n_put `n/a` if item is not relevant to PR changes_\r\n\r\n- [x] Have the CHANGELOG, README, MIGRATION, RELEASE_GUIDELINES docs been updated?\r\n- [n/a] Have new automated tests been implemented?\r\n- [n/a] Have new manual tests been written down?\r\n- [x] Have tests passed locally?\r\n- [n/a] Have any new strings been translated?\r\n"},"comment":{"url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/comments/415031552","html_url":"https://github.com/onfido/onfido-sdk-ui/pull/422#issuecomment-415031552","issue_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/422","id":415031552,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTAzMTU1Mg==","user":{"login":"rfreitas","id":651348,"node_id":"MDQ6VXNlcjY1MTM0OA==","avatar_url":"https://avatars3.githubusercontent.com/u/651348?v=4","gravatar_id":"","url":"https://api.github.com/users/rfreitas","html_url":"https://github.com/rfreitas","followers_url":"https://api.github.com/users/rfreitas/followers","following_url":"https://api.github.com/users/rfreitas/following{/other_user}","gists_url":"https://api.github.com/users/rfreitas/gists{/gist_id}","starred_url":"https://api.github.com/users/rfreitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfreitas/subscriptions","organizations_url":"https://api.github.com/users/rfreitas/orgs","repos_url":"https://api.github.com/users/rfreitas/repos","events_url":"https://api.github.com/users/rfreitas/events{/privacy}","received_events_url":"https://api.github.com/users/rfreitas/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T13:28:32Z","updated_at":"2018-08-22T13:28:32Z","author_association":"CONTRIBUTOR","body":"Travis automatic deployment: https://staging-422-pr-onfido-sdk-ui-onfido.surge.sh"}}
{"actor":{"display_login":"rfreitas"}}