-
Notifications
You must be signed in to change notification settings - Fork 29
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
[IOS] If app is in killed state, How to accept or reject incoming call in IOS? #405
Comments
Hi @himanshupkarak are you experiencing crashes or are you not seeing UI pop up when attempting to receive an incoming call? Are you able to receive incoming calls when the app is not in the killed state? If you experiencing crashes, please provide Xcode logs. Finally, can you confirm that you're using a real iOS device, and not the iOS simulator? The Twilio Voice SDKs will not work on iOS simulators. |
HI @mhuynh5757 i am not experiencing any crash on incoming call with any state (foreground, background or killed) not even after accepting or rejecting call. the issue is (only for killed state), when i click on accept (from IOS native UI) my call decline if i click on reject (2 times), my call also decline *here are some screenshots to understand more. one more thing, -> voice.addListener(Voice.Event.CallInvite, handlePendingCallInvite);
-> callInvite.on(CallInvite.Event.Accepted, async (res) => {
please help!! |
yes, I am using a real iOS device |
Thanks for the update @himanshupkarak. When CallInvites are accepted through the native UI and the JS runtime is not started, for example when your app is backgrounded or closed, you are indeed correct that the |
Issue
Accept and Reject buttons are not working, If received an incoming call on killed state in IOS
Pre-submission Checklist
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Description
accept and reject not working for killed state incoming call in IOS.
Reproduction Steps
Expected Behavior
User can accept or reject incoming call from IOS native UI screen.
Actual Behavior
can not accept or reject
Reproduction Frequency
In my case, It's 100%
Screenshots
Software and Device Information
Please complete the following information.
Additional Context
The text was updated successfully, but these errors were encountered: