For me RNCallKeep.addEventListener('answerCall') never gets called
See original GitHub issueBug report
-
I’ve checked the example to reproduce the issue.
-
Reproduced on:
-
Android
-
iOS
Description
I am able to ring my phone but for some reason when call UI pops up and I accept the call, no event is firing. I have written my answerCall
event but its not getting triggered.
Steps to Reproduce
Versions
- Callkeep: 4.3.1
- React Native: 0.64.2
- iOS:15, 15.1, 15.2
- Android:
- Phone model: iPhone X, iPhone 13 pro
Logs
Paste here
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
RNCallKeep.addEventListener("answerCall") worked at the ...
I'm using this react-native-callkeep to get call rings on iOS devices and it is working as ...
Read more >How to use the react-native-callkeep.setup function in ... - Snyk
To help you get started, we've selected a few react-native-callkeep.setup examples, based on popular ways it is used in public projects.
Read more >react-native-callkeep - npm
If the user answers the call, you call the appropriate RNCallKeep actions such as answerCall or endCall; In certain cases Android will not...
Read more >RNCallKeep.addEventListener("answerCall") worked at the ...
Coding example for the question RNCallKeep.addEventListener("answerCall") worked at the very first time after the app launch.
Read more >Using Native Incoming Call UI for your React Native App (How ...
Suitable for developers who are interested in how to get started with native modules for android within React Native or implementing native UI ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ohh finally got it worked , reload the app from Xcode IDE after made changes don’t use React Native Metro Debugger Reload because call back event reference is removed when Metro Debugger reloading the app (it might be bug or event lifecycle ) that’s why event is not firing I restart the app every time using Xcode then there is no issue at all , events firing perfectly
@divyesh-puri I am seeing the same issue, but only on development builds. Release builds work fine. Is this also the case for you?
I’m thinking it might have to do with xcode version. I’m running xcode version 13.3.1