snikket-im / snikket-ios

Snikket iOS client
https://snikket.org/app/ios/
GNU General Public License v3.0
73 stars 10 forks source link

CallKit: Support initiating outgoing phone calls #151

Open mwild1 opened 3 years ago

mwild1 commented 3 years ago

Describe your feature proposal When any of the enabled accounts have a telephony provider configured, Snikket should inform iOS that it is able to handle phone numbers via supportedHandleTypes of CXProviderConfiguration, and allow the user to call contacts from their address book using Snikket (via long press on the 'call' button).

Is your feature request related to a problem? Please describe. This feature allows users with existing contacts in their address book to call them via an XMPP telephony gateway without granting Snikket access to their phone address book.

mwild1 commented 3 years ago

Advertising .phoneNumber as a supported handle type is not all that's required, the app needs to handle "start call" intents.

iOS allows apps to handle a "start call" intent, which can be used to launch the app to make a call from the native phone app's "Recents" list, contact cards, Siri, and shortcuts.

Resources