-
Notifications
You must be signed in to change notification settings - Fork 459
iOS13: Outgoing call not working from call log. #108
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
Looks like userActivity.activityType is now coming as a generic INStartCallIntent on iOS 13, so the isAudioCall and isVideoCall checks are no longer valid. |
I am using RNKeepCall, so I have my AppDelegate like this,
But my log never prints "continueUserActivity=====" and when tap on call log, it doesn't even open the app.
But still method doesn't get called and my app doesn't get open from call log. |
@Chaitu4190 that latest comment sounds like an app configuration issue on your end (do you have the appropriate NSUserActivityTypes flags in your Info.plist?), not an RNCallKeep issue then. However, we were able to determine there's a real issue here with the way RNCallKeep handles that user activity once it's passed down to the dependency. We'll be opening a PR for that fix soon, hopefully that, along with whatever you need to adjust on your own app will rectify this for you. |
@kylekurz @bhuangy ,
But still my app doesn't get open from call log, as I said it was open for on iOS 12 even without this info.plist's above value. |
@Chaitu4190 that looks correct. Unfortunately, without access to your app, all we can really say at this point is "works on my machine", ha. Please do try @bhuangy's PR #109 and see if that fixes your original issue. It did fix our app and, I believe, should fix the example app as well. If the user activity never gets to the RNCallKeep code, however, that's not something we can control or fix. Please let us know if you have any more questions or we can help in any other way! |
#108 Address Outgoing calls not working from call log in iOS 13
@Chaitu4190 I think you're confusing two parts of this API surface. I'll try to explain as clearly as I can, maybe something I say will help you solve your issue.
|
@kylekurz , Thanks for the reply. But still it doesn't solve my problem. (Not able to make outgoing call when I press the number from call-log) I am describing how I implemented whole things.I have used Incoming call: It works fine on iOS 13. AppDelegate.m
Home.js
Outgoing call: So can you please guide me if I missed anything. |
@kylekurz , Can you please check my last comment? |
@Chaitu4190 I haven't had time to really attempt to reproduce your issue, as we've been pushing our app live this week. If uncommenting If you set a breakpoint in Xcode at |
@kylekurz, Don't know if something is wrong with my code base, or from the library. Unfortunately while calling from the call logs my break point doesn't hit. |
@Chaitu4190 if you don't hit that breakpoint, something is wrong in the setup. That's the earliest entry point into your application from iOS system level control. I won't say there isn't also a bug somewhere in this library, but the library relies on your AppDelegate to pass the userActivity information down and until that is working, all the discussion about RNCallKeep functionality is moot. Please take a look at the Apple documentation to verify you've registered properly with the system for continueUserActivity calls. If you still can't find the issue after that, you can provide me with a sample project or give me access to your repo and I'll do my best to help, but it's sort of outside the scope of this dependency. |
Same issue for me. Call has not been redirected to the app once tapped in the call history (native app). Interesting that I can still access the app from Contacts app (once tapped on the phone number to call with the voIP app); |
Bug report
I've checked the example to reproduce the issue.
Reproduced on:
Android
iOS
Description
I have implemented callkeep package 3.0.3, incoming call works fine. But when I tap on my number from the call log, nothing happens. The same thing works fine on iOS 12 and package version 3.0.1. I was redirecting to the app and I got callback in particular method from where I can initiate the call. But on iOS 13 nothing happens and it doesn't even redirect to the app.
Steps to Reproduce
Just integrate with given details, and it should happen.
Versions
Logs
The text was updated successfully, but these errors were encountered: