Receiving messages from TelephonyMessagingKit

I'm currently experimenting with TelephonyMessagingKit on iOS 26 Beta 3 (in the EU). I've managed to register my example project as the default Carrier messaging app, and sending/receiving SMS inside the app also appeared to work.

However, I do not see any way to receive notifications/messages while the app is not running. Is this intentional? Not being able to notify users about an incoming message would be a competitive disadvantage compared to Apple's messages app, which is why I'd expect there to be an API to do this, given the EU rules. I'd appreciate any help here. Thanks!

Answered by DTS Engineer in 849402022

However, I do not see any way to receive notifications/messages while the app is not running.

If your app is set as the Default Carrier and your app is suspended, it should be woken in the background and the message delivered through the various incomingMessageNotifications properties. If it's not running, then it should launch your app into the background and then deliver the message once your app creates incomingMessageNotifications. Note that the background launch case does mean that, just like VoIP apps, you need to set up TelephonyMessagingKit early in your app’s launch process and that you can't depend on any user interaction or your app interface being initialized.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

However, I do not see any way to receive notifications/messages while the app is not running.

If your app is set as the Default Carrier and your app is suspended, it should be woken in the background and the message delivered through the various incomingMessageNotifications properties. If it's not running, then it should launch your app into the background and then deliver the message once your app creates incomingMessageNotifications. Note that the background launch case does mean that, just like VoIP apps, you need to set up TelephonyMessagingKit early in your app’s launch process and that you can't depend on any user interaction or your app interface being initialized.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Receiving messages from TelephonyMessagingKit
 
 
Q