question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

answerCall event not trigger in android 11

See original GitHub issue

Bug report

  • I’ve checked the example to reproduce the issue.

  • Reproduced on:

  • Android

  • iOS

Description

AnswerCall event is not triggered in Android 11 but works on android 10. endCall works on both devices.

Steps to Reproduce

RNCallKeep.addEventListener(‘answerCall’, callKitAnswered);

Listener does not get called

Versions

- Callkeep: 4.01
- React Native:0.63.3
- iOS:
- Android:11
- Phone model: Xiaomi mi 10 lite 5g

Logs

Paste here

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:8

github_iconTop GitHub Comments

7reactions
GoncaloDuarte98commented, Mar 6, 2021

no. same code runs in one device but my Xiaomi doesn’t work

1reaction
classiebitcommented, Jun 9, 2021

Someone, please help! 🙏 answerCall event is not firing in Android. When we call displayIncomingCall and the incoming call shows on Android, and when we press the call end button, the endCall event is firing, but when we press the call-accept button, it stays there on the call screen and nothing happens. And the answerCall event is not firing.

Please help, we’ve tried all the solutions, nothing is working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RNCallKeep.addEventListener("answerCall") worked at the ...
But getting one issue with its event listener RNCallKeep.addEventListener("answerCall") . This listener is getting triggered only once after the ...
Read more >
MotionEvent - Android Developers
Axis constant: Right Trigger axis of a motion event. ... Create a new MotionEvent, copying from an existing one, but not including any...
Read more >
reconnect-react-native-callkeep - npm
Tell ConnectionService that the device is ready to make outgoing calls via the native Phone app. If not the user will be stuck...
Read more >
Using Native Incoming Call UI for your React Native App (How ...
After experimenting with different emulators and getting the functionality to work, this led me to the conclusion that the android 11 emulator ...
Read more >
Allow phone calls on your iPad, iPod touch, and Mac
Wi-Fi Calling is not available from all carriers. Before you begin. On your iPhone and your other devices, do the following (iOS 9,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found