Hi!
I would like to use the phone number of an incoming call to trigger a server request. More specifically, I have a list of the phone numbers of the users of the app, and ideally I would like to match the phone number of an incoming call to one of these. If there is a match, I want this to trigger the mentioned server request.
I know that CallKit enables the link between the native phone UI and VoIP apps, but in my case I just want to link the incoming call from the native phone system via (possibly) CallKit to the matching script, and finally from the matching to the server.
I know that Apple considers incoming call phone numbers private, which makes it impossible to extract phone numbers directly, but can you think of a way to trigger this server request?