-
Notifications
You must be signed in to change notification settings - Fork 460
answerCall event not getting called on app killed state iOS #190
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
Comments
I also would like to know which method opens the app |
How do you mean @shashankmeddo ? What are you using to start up the app? a push notification? a voip push? are you displaying the incoming call in native land due to the recent ios13 changes... you'll need t give us some more information for us to help you |
If you are using react-native-voip-push-notification to start the app, this pull request helped me to fix the same issue: react-native-webrtc/react-native-voip-push-notification#52 |
@danjenkins I have added 'answerCall' eventListener in my App.js in which I am navigating user to a video call screen and the case is - |
I'm having this same issue on android. Does anyone have any suggestions? |
Same issue here on IOS 13.3, iphone 8 (Real device), react-native 0.65.1 When i open the app for the first time everything runs ok on the background. If i found an error code i will provide one. |
Maybe this is a error code related:
|
Same issue but in my case displayincoming event is fired and show incoming screen, but when I press answer button nothing happen, answer event didn't be occured It happened for the first time when voip push launch the app after killed |
Does anybody have an update about this issue?Any help or something? I'm stuck on this problem :( |
@willnaoosmit nope. Still having the same issue. I only have it on older iphones though. Newer ones seem fine. I can't figure out why that is |
By "Older" you mean what iPhone versions? Also, taking advantage of you here, do you have a problem with the app doesn't working on foreground or background when installed by the App store itself? I uploaded him using the app store and it simply doesn't work even the first time :( |
@willnaoosmit So all of these were tested on real devices. It works fine on multiple iphone X's and iphone XR's (various iOS 13's) and then it works fine on the foreground for iPhone SE (13.3.1) / iPhone 7 (11.2.5) / iPhone 7 (12.4) but not the background Edit: Its worth noting I had the same experiences testing on development and production |
Make sure:
Personally, I didn't face this issue ( If you did the above and still have the same issue, give #169 a try |
Also, you may try to invoke Method 1 ( react-native-callkeep )Use #191 to invoke Method 2 ( react-native-voip-push-notification )If you use RN voip push You can use react-native-webrtc/react-native-voip-push-notification#52 to invoke |
Closing |
Hey guys! If anyone comes across this issue and has already implemented the completionHandler from #191, make sure that you call In my case, I've moved the If you call |
Hi, i got the problem, that's I can not access to mic when app killed, even I can bring the call screen active after answer call |
i saw problem is navigate to call screen when navigation not ready |
Hi am also facing this issue in iOS using swift, have you got any solution.If yes please let us know. |
Have you checked what events would you get when add 'didLoadWithEvents' listener? |
Hi thank you for your response , Actually am using swift language in iOS.so I am unable to find 'didLoadWithEvents' method.
Thank you
From: Romick2005 ***@***.***>
Date: Monday, 23 January 2023 at 3:20 PM
To: react-native-webrtc/react-native-callkeep ***@***.***>
Cc: Mounika Sakinapally ***@***.***>, Comment ***@***.***>
Subject: Re: [react-native-webrtc/react-native-callkeep] answerCall event not getting called on app killed state iOS (#190)
@danjenkins<https://github.com/danjenkins> I have added 'answerCall' eventListener in my App.js in which I am navigating user to a video call screen and the case is -
App is in killed state and VOIP push arrives. So when I answered the call, it opens my application and nothing happened. That event didnt called.
But when the app was in foreground or in active state, 'answerCall' event fired and it navigate to video screen but when the app was in killed state, that event didnt fired.
Hi am also facing this issue in iOS using swift, have you got any solution.If yes please let us know.
Have you checked what events would you get when add 'didLoadWithEvents' listener?
—
Reply to this email directly, view it on GitHub<#190 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A2DOZ5VKH54YTXRDYBYMW6DWTZH67ANCNFSM4MR5RSJA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
You should at least read about it. But you were asking about having answerCall js side, correct? Because on native side Objective-C or Swift there are no answerCall events at all. You should start the app from voip push notification and there call reportNewIncomingCall from RNCallKeep reportNewIncomingCall module. Sorry not sure what you are trying to achive and what is your problem is. |
Hi,
My app works fine on iOS when the app is in background or foreground ho ever
when app is in killed state then none of the event is getting called
I am mainly interested in
answerCall Event of RNCallKeep
The text was updated successfully, but these errors were encountered: