Skip to content

RNCallKeep.displayIncomingCall() not working on Android #842

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
olegkorol opened this issue Apr 23, 2025 · 1 comment
Open

RNCallKeep.displayIncomingCall() not working on Android #842

olegkorol opened this issue Apr 23, 2025 · 1 comment

Comments

@olegkorol
Copy link

olegkorol commented Apr 23, 2025

Hi,

I am testing react-native-callkeep. It works fine on iOS, but on Android nothing happens at all when I try to trigger a test incoming call (i.e. run RNCallKeep.displayIncomingCall()).
Only when I enter the React Native menu and press "reload" the phone shows the native call notification. Without a reload, the call notification never appears.

I am using Expo and running a development build on a physical device.

Did someone experience the same issue?

Image

@olegkorol
Copy link
Author

olegkorol commented Apr 24, 2025

Switching to self-managed mode in Android doesn't help either... it doesn't really work. For instance, showIncomingCallUi is never triggered at all.

This fork seems to have fixed some of the issues from the original repo: https://github.com/enna-systems/react-native-callkeep-self-managed

So if I use it instead, call notifications on Android start working.

# command line
npm i https://github.com/enna-systems/react-native-callkeep-self-managed
// package.json
"react-native-callkeep": "github:enna-systems/react-native-callkeep-self-managed", // append #<latest_commit_hash>

iOS stops working at all, though... :)

Is there a reference repo somewhere where callkeep just works on both Android and iOS? I wasn't able to find anything...

On Flutter there's this library https://pub.dev/packages/flutter_callkit_incoming where everything just works like a charm. I am wondering why there isn't anything similar for React Native.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant