react-native-callkit
react-native-callkit copied to clipboard
Problems with didReceiveStartCallAction-event
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?
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?
ping @ianlin