jitsi / jitsi-meet-sdk-samples

Jitsi Meet mobile SDK examples (Android, iOS and React Native)
Apache License 2.0
277 stars 240 forks source link

Incoming call JitsiMeetView integration with CallKit #76

Open AndaBucsa opened 3 years ago

AndaBucsa commented 3 years ago

Hi,

Currently when we receive a PushKit incoming call notification we invoke JMCallKitProxy.ReportNewIncomingCallWithUUID which displays the iOS Accept / Reject UI.

When the user taps on Accept - PerformAnswerCallWithUUID is invoked on JMCallKitListener and at this point we navigate to our own view controller which creates a JitsiMeetView and calls Join on it.

However - even when the user ends the call by tapping the end call button in JitsiMeetView, the iOS built-in call screen is still displayed. Is there a way to link the JitsiMeetView with the UUID of the call reported on JMCallKitProxy.ReportNewIncomingCallWithUUID so any actions performed on the JitsiMeetView are synced with the iOS built-in UI?

Thank you, Anda