react-native-webrtc / react-native-callkit

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

Problems with didReceiveStartCallAction-event #47

Open ippa opened 6 years ago

ippa commented 6 years ago

I have a number of call-kit-calls listed by my app under the Recent-tab on my iPhone.

In my app-code I hook into the didReceiveStartCallAction-event like this:

  RNCallKit.addEventListener("didReceiveStartCallAction", data => {
        console.log("didReceiveStartCallAction", data);
   });

When I click a call in Recent-list my app starts, but the above event isn't executed (other callbacks like answerCall and endCall works)

Any ideas why?

ckrodrigues commented 6 years ago

I'm currently having the same issue. The action successfully wakes up the app but at that point seems like RNCallKit is not setup yet so there's not a handler method for that action. @ianlin any ideas how to fix it?

ippa commented 6 years ago

ping @ianlin