twilio_voice icon indicating copy to clipboard operation
twilio_voice copied to clipboard

Answer and HangUp do not work for ringing Incoming Call on iOS.

Open agent515 opened this issue 1 year ago • 1 comments

Issue Summary

Nothing happens on calling TwilioVoicePlatform.call.answer() and TwilioVoicePlatform.call.hangUp() when an incoming call is ringing on iOS.

Steps to Reproduce

  1. Incoming Call arrives
  2. Ringing event is invoked
  3. Call TwilioVoicePlatform.call.answer() or TwilioVoicePlatform.call.hangUp()
  4. Those method return true but no new event such as declined or answer emitted

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead? Testing Device: iPhone 14 (iOS 17.5.1)

agent515 avatar Jul 05 '24 14:07 agent515

hi @agent515

I apologize for the delay in response.

Thank you for reaching out and bringing this issue to my attention - I'll investigate this issue.

cybex-dev avatar Sep 03 '24 12:09 cybex-dev

Hi @agent515

Thank you for reaching out and creating this issue. I see there is certainly work that needs to be done on the iOS package. hangUp() may only work with existing calls and answer() has a wonderful piece added to it, check it out:

else if flutterCall.method == "answer" {
      // nuthin
}

😆

--

I'll address this package rewrite as soon as I finish the web update.

cybex-dev avatar Mar 26 '25 06:03 cybex-dev