react-native-callkeep icon indicating copy to clipboard operation
react-native-callkeep copied to clipboard

Incoming call UI not displaying.

Open jaswantjatav opened this issue 7 years ago • 16 comments

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.

jaswantjatav avatar Jun 28 '19 06:06 jaswantjatav

Have you tried uuid.v1() function ?

moisesynfam avatar Jul 01 '19 20:07 moisesynfam

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 ?

manuquentin avatar Jul 02 '19 12:07 manuquentin

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 avatar Jul 05 '19 06:07 jaswantjatav

@jaswantjatav has the phone accepted the permissions required ? On Android have you accepted to add the phone account ? Have you used RNCallKeep.setup ?

manuquentin avatar Jul 05 '19 11:07 manuquentin

@manuquentin actually I am running it on iPhone and yet I did RNCallKeep.setup , but I can't see the incoming call screen.

jaswantjatav avatar Jul 05 '19 16:07 jaswantjatav

@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.

jaswantjatav avatar Jul 11 '19 12:07 jaswantjatav

Hi @jaswantjatav, I don't understand, which framework should I add ?

Emmanuel

manuquentin avatar Jul 11 '19 12:07 manuquentin

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!

arnaugris97 avatar Jul 11 '19 19:07 arnaugris97

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.

alxsad avatar Jul 29 '19 11:07 alxsad

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.

alxsad avatar Jul 30 '19 11:07 alxsad

Hi @al, can you check the example and see what's different from your code ?

manuquentin avatar Sep 09 '19 18:09 manuquentin

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?

bmp123 avatar Sep 27 '19 11:09 bmp123

Hi @bmp123 @jaswantjatav, Maybe it's related to ios 13, can you check with this PR ?

manuquentin avatar Sep 27 '19 12:09 manuquentin

@manuquentin PR helped

bmp123 avatar Oct 02 '19 09:10 bmp123

Ok good 👌 Can I close this issue ?

manuquentin avatar Oct 02 '19 12:10 manuquentin

Closing!

danjenkins avatar Nov 11 '19 17:11 danjenkins