{"action":"created","issue":{"url":"https://api.github.com/repos/twilio/voice-quickstart-objc/issues/89","repository_url":"https://api.github.com/repos/twilio/voice-quickstart-objc","labels_url":"https://api.github.com/repos/twilio/voice-quickstart-objc/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/twilio/voice-quickstart-objc/issues/89/comments","events_url":"https://api.github.com/repos/twilio/voice-quickstart-objc/issues/89/events","html_url":"https://github.com/twilio/voice-quickstart-objc/issues/89","id":301259867,"number":89,"title":"TVOCallDelegate didDisconnectWithError UUID not found","user":{"login":"ariveraati","id":15327172,"avatar_url":"https://avatars1.githubusercontent.com/u/15327172?v=4","gravatar_id":"","url":"https://api.github.com/users/ariveraati","html_url":"https://github.com/ariveraati","followers_url":"https://api.github.com/users/ariveraati/followers","following_url":"https://api.github.com/users/ariveraati/following{/other_user}","gists_url":"https://api.github.com/users/ariveraati/gists{/gist_id}","starred_url":"https://api.github.com/users/ariveraati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariveraati/subscriptions","organizations_url":"https://api.github.com/users/ariveraati/orgs","repos_url":"https://api.github.com/users/ariveraati/repos","events_url":"https://api.github.com/users/ariveraati/events{/privacy}","received_events_url":"https://api.github.com/users/ariveraati/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bchen-twilio","id":16326574,"avatar_url":"https://avatars1.githubusercontent.com/u/16326574?v=4","gravatar_id":"","url":"https://api.github.com/users/bchen-twilio","html_url":"https://github.com/bchen-twilio","followers_url":"https://api.github.com/users/bchen-twilio/followers","following_url":"https://api.github.com/users/bchen-twilio/following{/other_user}","gists_url":"https://api.github.com/users/bchen-twilio/gists{/gist_id}","starred_url":"https://api.github.com/users/bchen-twilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchen-twilio/subscriptions","organizations_url":"https://api.github.com/users/bchen-twilio/orgs","repos_url":"https://api.github.com/users/bchen-twilio/repos","events_url":"https://api.github.com/users/bchen-twilio/events{/privacy}","received_events_url":"https://api.github.com/users/bchen-twilio/received_events","type":"User","site_admin":false},"assignees":[{"login":"bchen-twilio","id":16326574,"avatar_url":"https://avatars1.githubusercontent.com/u/16326574?v=4","gravatar_id":"","url":"https://api.github.com/users/bchen-twilio","html_url":"https://github.com/bchen-twilio","followers_url":"https://api.github.com/users/bchen-twilio/followers","following_url":"https://api.github.com/users/bchen-twilio/following{/other_user}","gists_url":"https://api.github.com/users/bchen-twilio/gists{/gist_id}","starred_url":"https://api.github.com/users/bchen-twilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchen-twilio/subscriptions","organizations_url":"https://api.github.com/users/bchen-twilio/orgs","repos_url":"https://api.github.com/users/bchen-twilio/repos","events_url":"https://api.github.com/users/bchen-twilio/events{/privacy}","received_events_url":"https://api.github.com/users/bchen-twilio/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-03-01T02:51:42Z","updated_at":"2018-03-01T16:16:04Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nIf an incoming call is received while the app is in the background, or the device is off, and it is answered, the didDisconnectWithError is not fired if the incoming caller ends the call. \r\n\r\n### Steps to Reproduce\r\n\r\n1. Run the CallKit enabled demo\r\n2. Place the app into the background (home button) or turn off the screen\r\n3. Call the Twilio phone number\r\n4. Answer the call that appears in CallKit\r\n5. End the call on the caller side\r\n6. Observe that the CallKit call does not end and remains open, but silent because the caller is no longer on the line\r\n\r\n#### Code\r\n\r\n```objc\r\n@interface TwilioVoicePlugin () <PKPushRegistryDelegate, TVOCallDelegate, TVONotificationDelegate, CXProviderDelegate>\r\n\r\n[self.callKitProvider setDelegate:self queue:nil];\r\n\r\n- (void)call:(TVOCall *)call didDisconnectWithError:(NSError *)error {\r\n```\r\n\r\n#### Expected Behavior\r\n\r\nI expect the CallKit call to end when the caller hangs up\r\n\r\n#### Actual Behavior\r\n\r\nThe CallKit call continues despite the caller having dropped from the call\r\n\r\n#### Reproduces How Often\r\n\r\n100%\r\n\r\n#### Logs\r\n\r\n```\r\nN/A\r\n```\r\n\r\n### Versions\r\n\r\n#### Voice iOS SDK\r\n\r\nTwilio iOS SDK Framework 2.0.1\r\n\r\n#### Xcode\r\n\r\nVersion 9.2 (9C40b)\r\n\r\n#### iOS Version\r\n\r\n11.2.1\r\n\r\n#### iOS Device\r\n\r\niPad Mini 4\r\n"},"comment":{"url":"https://api.github.com/repos/twilio/voice-quickstart-objc/issues/comments/369643874","html_url":"https://github.com/twilio/voice-quickstart-objc/issues/89#issuecomment-369643874","issue_url":"https://api.github.com/repos/twilio/voice-quickstart-objc/issues/89","id":369643874,"user":{"login":"ariveraati","id":15327172,"avatar_url":"https://avatars1.githubusercontent.com/u/15327172?v=4","gravatar_id":"","url":"https://api.github.com/users/ariveraati","html_url":"https://github.com/ariveraati","followers_url":"https://api.github.com/users/ariveraati/followers","following_url":"https://api.github.com/users/ariveraati/following{/other_user}","gists_url":"https://api.github.com/users/ariveraati/gists{/gist_id}","starred_url":"https://api.github.com/users/ariveraati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariveraati/subscriptions","organizations_url":"https://api.github.com/users/ariveraati/orgs","repos_url":"https://api.github.com/users/ariveraati/repos","events_url":"https://api.github.com/users/ariveraati/events{/privacy}","received_events_url":"https://api.github.com/users/ariveraati/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T16:16:04Z","updated_at":"2018-03-01T16:16:04Z","author_association":"NONE","body":"Hm. I wonder. Between numbers 6 and 7, is TVOCallDelegate callDidConnect fired? It overwrites the `self.call` object. Perhaps the call from that event has a different UUID?"}}
{"actor":{"display_login":"ariveraati"}}