RNCallKeep.displayIncomingCall() not working on Android
Opened this issue · 5 comments
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?
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-managediOS 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.
@olegkorol any updates? im having similar issue, when I try it on a Android mobile phone, it works everytime but when i do it on a tablet, it needs a reload for the notification to come up.
@AnasPlusAnas not really, I just gave up on this...
@AnasPlusAnas not really, I just gave up on this...
Did you find another library? I wonder if the owner locked himself out of the account or something.
