twilio / video-quickstart-ios

Twilio Video Quickstart for iOS
https://www.twilio.com/docs/api/video
MIT License
460 stars 178 forks source link

Video call is not receiving when app is killed in iOS 15 and above #642

Open komalKmphitech opened 2 years ago

komalKmphitech commented 2 years ago

The call is not received (CallKit UI is not showing) when the app is killed, It is received when the app is in the foreground & in the background.

The bug scenario for User 2:

  1. User 1 is calling User 2
  2. iOS App is in termination state (killed)
  3. Call UI is not shown
  4. Call rejected by User 1
  5. Now open app & call is receiving (CallKit UI shown) however call is terminated by User 1

The call is working in

  1. Foreground state
  2. Background state
  3. below iOS 15 (All states)

Not working in

  1. Killed state in >= iOS 15 only.

Capability: Background modes

  1. Audio, airplay
  2. VoIP
  3. Background fetch
  4. Remote notifications

I face this issue every time, also I'm unable to test calls in development mode. For testing, I have to make an AdHoc build & then I can test. In development, mode calls are not received in any scenario.

I want to receive call-in killed state also.

Versions: TwilioVoice: 6.2.0 TwilioVideo: 4.6

iOS versions: >15.0 iOS devices: Any