{"action":"created","issue":{"url":"https://api.github.com/repos/deltachat/deltachat-android-ii/issues/79","repository_url":"https://api.github.com/repos/deltachat/deltachat-android-ii","labels_url":"https://api.github.com/repos/deltachat/deltachat-android-ii/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/deltachat/deltachat-android-ii/issues/79/comments","events_url":"https://api.github.com/repos/deltachat/deltachat-android-ii/issues/79/events","html_url":"https://github.com/deltachat/deltachat-android-ii/issues/79","id":367879863,"node_id":"MDU6SXNzdWUzNjc4Nzk4NjM=","number":79,"title":"add qr show+scan activities","user":{"login":"r10s","id":9800740,"node_id":"MDQ6VXNlcjk4MDA3NDA=","avatar_url":"https://avatars2.githubusercontent.com/u/9800740?v=4","gravatar_id":"","url":"https://api.github.com/users/r10s","html_url":"https://github.com/r10s","followers_url":"https://api.github.com/users/r10s/followers","following_url":"https://api.github.com/users/r10s/following{/other_user}","gists_url":"https://api.github.com/users/r10s/gists{/gist_id}","starred_url":"https://api.github.com/users/r10s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r10s/subscriptions","organizations_url":"https://api.github.com/users/r10s/orgs","repos_url":"https://api.github.com/users/r10s/repos","events_url":"https://api.github.com/users/r10s/events{/privacy}","received_events_url":"https://api.github.com/users/r10s/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Boehrsi","id":7944013,"node_id":"MDQ6VXNlcjc5NDQwMTM=","avatar_url":"https://avatars1.githubusercontent.com/u/7944013?v=4","gravatar_id":"","url":"https://api.github.com/users/Boehrsi","html_url":"https://github.com/Boehrsi","followers_url":"https://api.github.com/users/Boehrsi/followers","following_url":"https://api.github.com/users/Boehrsi/following{/other_user}","gists_url":"https://api.github.com/users/Boehrsi/gists{/gist_id}","starred_url":"https://api.github.com/users/Boehrsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boehrsi/subscriptions","organizations_url":"https://api.github.com/users/Boehrsi/orgs","repos_url":"https://api.github.com/users/Boehrsi/repos","events_url":"https://api.github.com/users/Boehrsi/events{/privacy}","received_events_url":"https://api.github.com/users/Boehrsi/received_events","type":"User","site_admin":false},"assignees":[{"login":"Boehrsi","id":7944013,"node_id":"MDQ6VXNlcjc5NDQwMTM=","avatar_url":"https://avatars1.githubusercontent.com/u/7944013?v=4","gravatar_id":"","url":"https://api.github.com/users/Boehrsi","html_url":"https://github.com/Boehrsi","followers_url":"https://api.github.com/users/Boehrsi/followers","following_url":"https://api.github.com/users/Boehrsi/following{/other_user}","gists_url":"https://api.github.com/users/Boehrsi/gists{/gist_id}","starred_url":"https://api.github.com/users/Boehrsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boehrsi/subscriptions","organizations_url":"https://api.github.com/users/Boehrsi/orgs","repos_url":"https://api.github.com/users/Boehrsi/repos","events_url":"https://api.github.com/users/Boehrsi/events{/privacy}","received_events_url":"https://api.github.com/users/Boehrsi/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/deltachat/deltachat-android-ii/milestones/2","html_url":"https://github.com/deltachat/deltachat-android-ii/milestone/2","labels_url":"https://api.github.com/repos/deltachat/deltachat-android-ii/milestones/2/labels","id":3655257,"node_id":"MDk6TWlsZXN0b25lMzY1NTI1Nw==","number":2,"title":"MinViable","description":"The \"Minimal viable version\" milestone defines a version that can be used as a replacement for the old android version.\r\n\r\nThere may be differences in UI elements as backgrounds or special settings, but in general, chatting, creating contacts, sending images and maybe voice messages should work.","creator":{"login":"r10s","id":9800740,"node_id":"MDQ6VXNlcjk4MDA3NDA=","avatar_url":"https://avatars2.githubusercontent.com/u/9800740?v=4","gravatar_id":"","url":"https://api.github.com/users/r10s","html_url":"https://github.com/r10s","followers_url":"https://api.github.com/users/r10s/followers","following_url":"https://api.github.com/users/r10s/following{/other_user}","gists_url":"https://api.github.com/users/r10s/gists{/gist_id}","starred_url":"https://api.github.com/users/r10s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r10s/subscriptions","organizations_url":"https://api.github.com/users/r10s/orgs","repos_url":"https://api.github.com/users/r10s/repos","events_url":"https://api.github.com/users/r10s/events{/privacy}","received_events_url":"https://api.github.com/users/r10s/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":24,"state":"open","created_at":"2018-09-14T16:18:13Z","updated_at":"2018-11-04T14:58:25Z","due_on":null,"closed_at":null},"comments":24,"created_at":"2018-10-08T17:11:06Z","updated_at":"2018-11-11T08:51:23Z","closed_at":"2018-10-18T09:13:22Z","author_association":"MEMBER","body":"the core offers easy methods to verify groups and contacts out-of-band (aka two-factor-auth) via QR codes.\r\n\r\nthe general flow is: \r\n\r\n- one device, the \"inviter\", shows a QR code with the string content as returned by [string=getSecurejoinQr(chat_id)](https://c.delta.chat/classdc__context__t.html#aeec58fc8a478229925ec8b7d48cf18bf)\r\n- a second device, the \"joiner\" scans the QR code and passes the scanned string to [dcContext.checkQr(string)](https://c.delta.chat/classdc__context__t.html#a34a865a52127ed2cc8c2f016f085086c), and if it is a secure-join request, to [joinSecurejoin(string)](https://c.delta.chat/classdc__context__t.html#ae49176cbc26d4d40d52de4f5301d1fa7) then (checkQr() also recognized other actions, btw)\r\n- after that, a process of some messages sending back and forth is started. the ui gets information about this through the events [DC_EVENT_SECUREJOIN_INVITER|JOINER_PROGRESS](https://c.delta.chat/group__DC__EVENT.html#gae1b19779138b8ea63d1b6a5b450c181a)\r\n\r\nin the old telegram-codebase, all this is handled by the activities [QRscanActivity](https://github.com/deltachat/deltachat-android/blob/master/MessengerProj/src/main/java/com/b44t/messenger/QRscanActivity.java) and [QRshowActivity](https://github.com/deltachat/deltachat-android/blob/master/MessengerProj/src/main/java/com/b44t/messenger/QRshowActivity.java).\r\n\r\ni think the base-classes of these activities need to be adapted and also the permission stuff.\r\n\r\nmoreover, the `import com.google.zxing.*` should work (this is the used lib for doing QR+code+scan+show, \"zxing\" stands for \"zebra crossing\" :)\r\n\r\ni would make the scan-activity accessible by a \"qr icon\" (eg. [this one](https://github.com/deltachat/deltachat-android/blob/master/MessengerProj/src/main/res/drawable-xhdpi/ic_ab_qr.png) from the old code base) and the first item in the main menu should read \"Show QR verify code\" and open the show-activity."},"comment":{"url":"https://api.github.com/repos/deltachat/deltachat-android-ii/issues/comments/437653354","html_url":"https://github.com/deltachat/deltachat-android-ii/issues/79#issuecomment-437653354","issue_url":"https://api.github.com/repos/deltachat/deltachat-android-ii/issues/79","id":437653354,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzY1MzM1NA==","user":{"login":"testbird","id":2182535,"node_id":"MDQ6VXNlcjIxODI1MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/2182535?v=4","gravatar_id":"","url":"https://api.github.com/users/testbird","html_url":"https://github.com/testbird","followers_url":"https://api.github.com/users/testbird/followers","following_url":"https://api.github.com/users/testbird/following{/other_user}","gists_url":"https://api.github.com/users/testbird/gists{/gist_id}","starred_url":"https://api.github.com/users/testbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testbird/subscriptions","organizations_url":"https://api.github.com/users/testbird/orgs","repos_url":"https://api.github.com/users/testbird/repos","events_url":"https://api.github.com/users/testbird/events{/privacy}","received_events_url":"https://api.github.com/users/testbird/received_events","type":"User","site_admin":false},"created_at":"2018-11-11T08:51:23Z","updated_at":"2018-11-11T08:51:23Z","author_association":"NONE","body":"\"concerted contact request\" / \"accepted concerted contact\"?"}}
{"actor":{"display_login":"testbird"}}