{"action":"closed","issue":{"url":"https://api.github.com/repos/plaid/link/issues/151","repository_url":"https://api.github.com/repos/plaid/link","labels_url":"https://api.github.com/repos/plaid/link/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/plaid/link/issues/151/comments","events_url":"https://api.github.com/repos/plaid/link/issues/151/events","html_url":"https://github.com/plaid/link/issues/151","id":220282163,"number":151,"title":"Asynchronous work on success","user":{"login":"mickeyreiss","id":47405,"avatar_url":"https://avatars3.githubusercontent.com/u/47405?v=3","gravatar_id":"","url":"https://api.github.com/users/mickeyreiss","html_url":"https://github.com/mickeyreiss","followers_url":"https://api.github.com/users/mickeyreiss/followers","following_url":"https://api.github.com/users/mickeyreiss/following{/other_user}","gists_url":"https://api.github.com/users/mickeyreiss/gists{/gist_id}","starred_url":"https://api.github.com/users/mickeyreiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickeyreiss/subscriptions","organizations_url":"https://api.github.com/users/mickeyreiss/orgs","repos_url":"https://api.github.com/users/mickeyreiss/repos","events_url":"https://api.github.com/users/mickeyreiss/events{/privacy}","received_events_url":"https://api.github.com/users/mickeyreiss/received_events","type":"User","site_admin":false},"labels":[{"id":557829786,"url":"https://api.github.com/repos/plaid/link/labels/ios","name":"ios","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":{"login":"afh","id":16507,"avatar_url":"https://avatars2.githubusercontent.com/u/16507?v=3","gravatar_id":"","url":"https://api.github.com/users/afh","html_url":"https://github.com/afh","followers_url":"https://api.github.com/users/afh/followers","following_url":"https://api.github.com/users/afh/following{/other_user}","gists_url":"https://api.github.com/users/afh/gists{/gist_id}","starred_url":"https://api.github.com/users/afh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afh/subscriptions","organizations_url":"https://api.github.com/users/afh/orgs","repos_url":"https://api.github.com/users/afh/repos","events_url":"https://api.github.com/users/afh/events{/privacy}","received_events_url":"https://api.github.com/users/afh/received_events","type":"User","site_admin":false},"assignees":[{"login":"afh","id":16507,"avatar_url":"https://avatars2.githubusercontent.com/u/16507?v=3","gravatar_id":"","url":"https://api.github.com/users/afh","html_url":"https://github.com/afh","followers_url":"https://api.github.com/users/afh/followers","following_url":"https://api.github.com/users/afh/following{/other_user}","gists_url":"https://api.github.com/users/afh/gists{/gist_id}","starred_url":"https://api.github.com/users/afh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afh/subscriptions","organizations_url":"https://api.github.com/users/afh/orgs","repos_url":"https://api.github.com/users/afh/repos","events_url":"https://api.github.com/users/afh/events{/privacy}","received_events_url":"https://api.github.com/users/afh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-04-07T17:44:50Z","updated_at":"2017-04-29T00:15:30Z","closed_at":"2017-04-29T00:15:30Z","body":"What is the recommended integration technique for performing asynchronous work in `linkViewController(_: didSucceedWithPublicToken:, metadata:)` before dismissing the Plaid Link interface?\r\n\r\nIn my case, I'd like to upload the public token before dismissing the `PLKPlaidLinkViewController`. The issue is that the Plaid Link interface is still user interactive and does not indicate that progress to the user.\r\n\r\nHere's my suggested solution:\r\n\r\nAdd an asynchronous success signature to the delegate protocol (see [`PKPaymentViewControllerDelegate`](https://developer.apple.com/reference/passkit/pkpaymentauthorizationviewcontrollerdelegate/1616195-paymentauthorizationviewcontroll) or for an example of this pattern). For backwards compatibility, this method could be optional and be called only if implemented.\r\n\r\nI suspect there are a number of other solutions that could work as well.\r\n\r\nThanks!"}}
{"actor":{"display_login":"michaelckelly"}}