3

I want to implement the "announce messages with Siri" feature for my own app. I haven't seen any app that is able to do it except for Messages from Apple. So I don't know if its already available. Apple announced it without any limitations explicit and mentioned that everyone will be able to adopt it.

How do I get Siri announcements for incoming notifications working?

I requested the permissions and can’t find anything else in the documentation. It also won’t show up in the settings app.

enter image description here

For reference Apples WWDC 2019 Keynote (56:00 - 56:40):

https://youtu.be/psL_5RIBqnY?t=3360

  • 1
    That is a great question! I saw this option (announcement) in the UNAuthorizationOptions. After searching online, I also couldn't find any info about it. I have reached out to Apple to ask about this option and I will let you know if I get a relevant answer. – shbedev Nov 16 '19 at 23:58
  • @Sam the option you're referring to is for Airpods: https://developer.apple.com/documentation/usernotifications/unauthorizationoptions/3240649-announcement. I don't think we can get the same behavior as iMessage has where Siri can always read out messages – donnywals Nov 18 '19 at 14:27
  • @donnywals, so as far as I understand, there is an option to have Siri read out notifications when wearing AirPods? I have granted permission, enabled Siri but couldn't get this to work. Am I missing something? – shbedev Nov 18 '19 at 14:33
  • I added the keynote reference. Apple is explicit mentioning third party apps. –  Nov 18 '19 at 15:34

1 Answers1

4

As per Apple's documentation:

To have messages automatically heard by a user wearing AirPods, you must implement both INSearchForMessagesIntent and INSendMessageIntent. Add announcement to the options when calling requestAuthorization(options:completionHandler:). Finally, add allowAnnouncement to the category option and INSearchForMessagesIntent to the category intent identifier.

In summary, adding the announcement option won't magically start reading your push notifications via AirPods. The functionality only works alongside Siri's support for messaging apps. I would advise against adding the Siri functionality to a non-messaging app as you are likely to be rejected.

Robbie Trencheny
  • 549
  • 1
  • 4
  • 19