Cannot make CallKit outgoing calls - Pythonista 3 is not entitled to VoIP
Making outgoing phone calls is not working:
cxcc = CXCallController.alloc().init()
cxcc.requestTransactionWithAction_completion_(CXStartCallAction.alloc().initWithCallUUID_handle_(UUID.alloc().init(), CXHandle.alloc().initWithType_value_(CXHandleTypeEmailAddress, "email@example.com")), completion)
ObjCBlock completion will receive an error domain() = com.apple.CallKit.error.requesttransaction code() = 1
which means, CXErrorCodeRequestTransactionErrorUnentitled.
Apparently this can only be fixed by adding "VoIP" iOS Background App Mode to Pythonista itself.
Can I have this added?
@lei, I would not pin my hopes on getting new entitlements for Pythonista, especially for these kinds of background things that might get the whole app rejected by Apple.
I guess that for your use case, simple call initiation via a ”tel:” url is not enough?
Well, the above API calls using CallKit enable me to input/output and tap into the audio which is quite different than only initiating a phone call. Is there any way to “help” the app developers get this through Apple?
@lei, cannot really comment on the entitlements process, except that recording entitlements are obviously a major security concern, at a time when app security violations are very much in the news every day, while it is hard to claim that this functionality would be in the core of what I would say is Pythonista’s ”reason to be” – so I would not make any short-term plans on making this happen.