TelephonyMessagingKit
Send and receive standards-based messages over cellular networks.
Overview
To use TelephonyMessagingKit, use the shared instance of TelephonyMessagingSession as your app’s main point of contact with the framework. Using a session, your app can inspect the services currently available on the device. The framework supports Short Message Service (SMS), Multimedia Messaging Service (MMS), and Rich Communication Services (RCS).
Each service provides an asynchronous sequence for notifications of incoming messages that the app can handle. To send a new message, compose the message content and then call the send method appropriate to the service. The RCS service, if present, provides functionality that goes beyond one-to-one messaging, including group chat and chatbots.
Default carrier messaging apps
To have access to the TelephonyMessageKit API you must add the Default Carrier Messaging App entitlement to your app. This functionality will be enabled in your app only when the user selects your app to be the default carrier messaging app.