react-native-voip-call icon indicating copy to clipboard operation
react-native-voip-call copied to clipboard

Notification Not hidden after accepting call

Open arbabr96 opened this issue 4 years ago • 4 comments

call notification not hidden if i am answering the call and decline button not listen

arbabr96 avatar Jul 22 '20 08:07 arbabr96

Same problem

maxsolovev avatar Jul 23 '20 12:07 maxsolovev

@arbabr96 you must call RNVoipCall.endAllCalls() when user answers call

maxsolovev avatar Aug 09 '20 20:08 maxsolovev

@maxsolovev Solution worked thanks.

WilcoBreedt avatar Dec 01 '20 10:12 WilcoBreedt

@arbabr96 you must call RNVoipCall.endAllCalls() when user answers call

The solution works if the app is in the background or foreground, but if the app is closed, I have to click twice, as the first time I tapped on Answer button the app opened, and the onCallAnswer will not be fired yet. is there any clue to solve that

mg4u avatar Feb 06 '21 15:02 mg4u