-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure CallKit session is ended on fail #30
Conversation
Make sure CallKit session is ended on fail
Thanks a lot! |
@Pagebakers @fabriziomoscon probably need to remove the same if statement from callDidDisconnect fn as well. For me if the caller hangs up first the callKit session is also not ended as when disconnect fires call.state is not connected. (void)callDidDisconnect:(TVOCall *)call
...
if (self.call.state == TVOCallStateConnected) {
[self performEndCallActionWithUUID:call.uuid];
} Should be just? [self performEndCallActionWithUUID:call.uuid]; |
I see. |
@fabriziomoscon ok got it, will have a test and let you know. |
Any progress on this? |
I haven't had time to test it yet. |
@SimonRobinson in the scenario you are describing is the iOS app making or receiving the call? |
@Pagebakers only today I could test your change and confirm that it is necessary. Well done and well spotted! My personal apologies for the delay to merge this change |
published on npm |
@SimonRobinson you are right! I have opened a separate issue to track this error in the log. Many thanks for your patience! |
the fix mentioned above has been published on npm |
Great, thanks for merging this in! |
@fabriziomoscon thanks for fixing and merging. FYI was testing with receiving calls. |
This fixes an issue where the CallKit session isn't ended when making an outbound call fails. Keeping the green topbar active when exiting the app.