Incoming call UI not displaying.
Hi,
I am using this plugin to show incoming video call ui into react-native, I am trying to display a incoming call UI as per document I used this function after installing plugin and linked.
RNCallKeep.displayIncomingCall(uuid.v4(), '44534534543', 'jaawant','number', true);
I also tried old comments on display incoming call and follow instructions but there was no luck. I also updated this into RNCallKeep.m file callUpdate.hasVideo = hasVideo;
Please help me , as it is not showing any error so can't fix it.
Thanks in advance.
Have you tried uuid.v1() function ?
Hi @jaswantjatav, We've made a small demo on how to use callkeep. Maybe you can take a look and check if your code is matching it ?
Hi @moisesynfam Thanks for your time, but the problem is I am not using wazo-webrtc sdk, I am using react-native-webrtc plugin. But display incoming call function not showing incoming call ui.
This is what I am using RNCallKeep.displayIncomingCall(uuid.v4(), '44534534543', 'jaawant','number', true);
@jaswantjatav has the phone accepted the permissions required ? On Android have you accepted to add the phone account ? Have you used RNCallKeep.setup ?
@manuquentin actually I am running it on iPhone and yet I did RNCallKeep.setup , but I can't see the incoming call screen.
@manuquentin please include all lib and framework as per document on git , I also got stocked and now I fixed this issue by referring the document to install this plugin.
Hi @jaswantjatav, I don't understand, which framework should I add ?
Emmanuel
Hi @jaswantjatav, I have faced the same problem and following readme instructions for iOS and adding a SIM card to the iPhone, incoming call screen was displayed. I have change another parameter in settings > phone > announce calls -> always
I hope this will solve your problem!
Hi guys, I have the same problem. After RNCallKeep.setup I try to show incoming call UI by RNCallKeep.displayIncomingCall(uuid.v4(), '375297776655'); but nothing happens.
Hi guys, actually I had mistake during installation. According documentation I should open Info.plist file and add voip in UIBackgroundModes. I moved code from documentation but I already had UIBackgroundModes section in my app.
@jaswantjatav may it can help you.
Hi @al, can you check the example and see what's different from your code ?
Hi guys, I have the same issue. RNCallKeep.displayIncomingCall work good if app active or background, but if app killed RNCallKeep.displayIncomingCall not show. I use react-native-voip-push-notification: "1.1.4" react-native-callkeep: "^3.0.3" react-native: "0.60.5" ios: 13 Can someone know this issue?
Hi @bmp123 @jaswantjatav, Maybe it's related to ios 13, can you check with this PR ?
@manuquentin PR helped
Ok good 👌 Can I close this issue ?
Closing!