question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Answer incoming call while app in background

See original GitHub issue

Hi, I have managed to get an incoming call and answer it while the app is in the foreground on iOS using:

TwilioPhone.acceptCallInvite("callSid");

but when I answer to call while the app is in the background or while the app is locked and in the background, Twilio does not connect

is there any example of how to answer incoming while the app is in the background?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
josariccommented, May 3, 2021

I had an older version of the bare expo (37), and I have updated everything to the clean react native project and I have updated all the dependecies to the latests and incoming did receive but while I tried to answered on the locked phone, callkit started but it didn’t really answer until I removed this line of code from didFinishLaunchingWithOptions

[RNVoipPushNotificationManager voipRegistration];

0reactions
MrHertalcommented, May 2, 2021

Sorry, I can’t really help because the problem could come from a lot of places.

Since you successfully managed to run the example app, the best thing you can do is trying to implement the same code in your own app step by step.

Read more comments on GitHub >

github_iconTop Results From Across the Web

android: put call phone in background when is answered
I want to detect when the call phone is answered and automatically put the native phone application in background and show my application...
Read more >
How to register (and answer call) when app is background? #97
I'm trying to implement push notifications in the app. With the code below, I manage to receive a FCM and display the calling...
Read more >
While on a call on iPhone - Apple Support
Add an incoming caller on the same line: Tap Hold Call + Answer, then tap Merge Calls. Drop one person: Tap the More...
Read more >
Display a call answering screen when the incoming call is in ...
Display a call answering screen when the incoming call is in the background/killed or on app running (Just like Line incoming call screen)....
Read more >
How to change Pop-up display for incoming calls while using ...
tutorial on how to change the Pop-up style for incoming calls when using another App for Samsung Galaxy A51 phone that is running...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found