react-native-webrtc / react-native-callkit

#deprecated iOS 10 new CallKit framework for React Native
ISC License
122 stars 67 forks source link

onRNCallKitPerformEndCallAction not being called after call rejection. #59

Open farrukhhashmi65 opened 5 years ago

farrukhhashmi65 commented 5 years ago

On Reject call from call kit view, unable to call this listener on Testflight.

RNCallKit.addEventListener('endCall', this.onRNCallKitPerformEndCallAction);

What can be the issue ? It is calling successfully after answered call, ended from callkit view. But not when rejected the call directly.

ttruongatl commented 5 years ago

We have to be sure

  1. Start call UUID and End call UUID are exactly the same.
  2. There is only on Setup Callkit in an entire app. ( RNCallKit.setup(options);)
izaa commented 5 years ago

Same issue for me, only one setup. If the caller rejects the call, the answerer can still see the call display (for example, answer or decline -view)

@farrukhhashmi65 did you solve this ?