how to get the incoming call number by using callkit

how to get the incoming call number by using callkit.

You can't, its not possible.

why????

If so, How can I identify the incoming call???

I understood Callkit is used to block and identify calls.

If the incoming call's number is not provided, what can we do with callkit?

Current (brief?) callkit docs here:

https://developer.apple.com/reference/callkit


WWDC Session 230 on CK:

https://developer.apple.com/videos/play/wwdc2016/230/


Sample for CK via VoIP:

View Sample Code

Sorry, my original answer was talking about the Extension only part of Callkit. With that its not possible to get the incomming call, with the remainder of Callkit there;s documentation and video sessions available to view.

When using CallKit's Call Blocking & Identification feature (new in iOS 10), phone numbers to be blocked or identified are loaded by your app's Call Directory extension prior to an incoming call and the phone numbers are stored by the system. Then, when an incoming call arrives, this stored data is consulted by the system and an incoming call may either be blocked or identified in the incoming call UI with the label provided.


For privacy and performance reasons, Call Directory app extensions are not launched when incoming calls arrive and an app extension cannot retrieve the phone number for an incoming call.

Hi. I checked callkit framework and added new target extending call-directory extension in my project.

And then, I input CXCallDirectoryPhoneNumber array and Lable array. It looked like working well.

But, I have some questions.

First of all, you said ' the phone numbers are stored by the system'. What is the system? It means the Native call app system or Apple's server system?

And, if I have too many (about 1,000,000,000) datas.... How can I add these CXCallDirectoryPhoneNumber and NSArray<NSString *> label?

Call Diretory Extension iOS10 support max number of Block and Identification

can we identify the incoming call? Is it possible ?

i have this doubt too... if with call kit we can get the caller number

i am using callkit. But i am not able to get incoming caller number. Can you please guide me how to get the caller number?

how to get the incoming call number by using callkit Can someone guide me.

any updates? Is it still not possible to get the incoming callers phone number and pass it to an external API?

They are still forcing Caller ID app developers to include their phone number database in app
This is likely a reason that a lot of services like Callinsider still don't have an iphone app
Any app one can develop without phone number base is as useful as creating a contact for spam and blocking it
Thank you Apple

how to get the incoming call number by using callkit
 
 
Q