Skip to content

Incoming call UI not displaying. #59

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

Closed
jaswantjatav opened this issue Jun 28, 2019 · 16 comments
Closed

Incoming call UI not displaying. #59

jaswantjatav opened this issue Jun 28, 2019 · 16 comments

Comments

@jaswantjatav
Copy link

jaswantjatav commented Jun 28, 2019

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.

@moisesynfam
Copy link

Have you tried uuid.v1() function ?

@manuquentin
Copy link
Contributor

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 ?

@jaswantjatav
Copy link
Author

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);

@manuquentin
Copy link
Contributor

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

@jaswantjatav
Copy link
Author

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

@jaswantjatav
Copy link
Author

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

@manuquentin
Copy link
Contributor

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

Emmanuel

@arnaugris97
Copy link

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!

@alxsad
Copy link

alxsad commented Jul 29, 2019

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
Copy link

alxsad commented Jul 30, 2019

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.

@manuquentin
Copy link
Contributor

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

@bmp123
Copy link

bmp123 commented Sep 27, 2019

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?

@manuquentin
Copy link
Contributor

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

@bmp123
Copy link

bmp123 commented Oct 2, 2019

@manuquentin PR helped

@manuquentin
Copy link
Contributor

Ok good 👌 Can I close this issue ?

@danjenkins
Copy link
Collaborator

Closing!

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

7 participants