How to 'do something' after answering call on Android?
See original GitHub issuePlease excuse my potential mis-interpretation of the documentation, but it does not seem obvious how to ‘do something’ after answering an incoming call.
On Android, I have successfully called displayIncomingCall
, but I am having the same results as detailed in this issue. I want to call a function when the called is answered. Tyvmia.
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Make & receive phone calls - Phone app Help - Google Help
To answer the call, swipe the white circle to the top of the screen when your phone is locked, or tap Answer. To...
Read more >Top 9 Ways to Fix Unable to Answer Calls on Android Phone
Then, go to Accessibility > Interaction & Dexterity>Assistant Menu. Turn on the toggle next to off on the next screen. Then, you will...
Read more >8 Best Ways to Answer Incoming Call on Samsung Galaxy ...
Instead of using any gesture or pressing a button, you can answer calls automatically after a set time when your phone is connected...
Read more >How can I set my phone to automatically answer calls (Android)?
Enable Auto Call Answering Feature on Android Step 1: Switch ON the Phone. Step 2: Now Tap on Dialer Icon. Step 3: Tap...
Read more >Answering Calls with One Tap on my Samsung Phone
Want to quickly answer calls without swiping across the screen? Simply activate Assistant menu in your Accessbility settings. Please follow the below guide ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@manuquentin I’ve tested the example and have made a screen recording - as you can see both incoming call interfaces are displayed one after the other.
I think there may ultimately be two different issues here - one is the above, and secondly, what I want to achieve is that when a call is answered by accepting the call, the incoming call interface disappears (for want of a better word) and my app appears! Like for example when you get an incoming video call on WhatsApp, and after answering a call, the call screen (video) is shown. At the moment I accept this may not work if my app has been killed or is in the background.
In the example app the incoming call screen disappears and ‘phone call’ then takes place. I don’t have this ‘call’ taking place, is that why the incoming call UI will not disappear on accept or reject?
I appreciate this is more of a support request and possibly less of an ‘issue’. Thanks!
EDIT: the second incoming call UI (full screen) that is shown in the video above appears for a very short period of time and disappears by itself without swiping up to answer the call.
I’m using RN 0.59.9 and Android 10 on a physical Pixel 2 XL.
@JustinBeBoy I’m unfortuantely tied up with other stuff at the moment, but over the summer I expect to be back on this and make a formal pull request for my branch - I just need to discuss something with the callkeep maintainers on how to handle some stuff that must be handled different.