Swift-Radio-Pro icon indicating copy to clipboard operation
Swift-Radio-Pro copied to clipboard

Add Hey Siri / Siri Shortcut Support

Open mannyd209 opened this issue 5 years ago • 6 comments

I would like to see if maybe we can get Hey Siri or Siri Shortcut support or if someone can point me in the direction to make it happen? Thanks

mannyd209 avatar Apr 17 '19 21:04 mannyd209

I looked into this. It turns out that this is a functionality that's not exposed for third-party apps.

joemcmahon avatar May 06 '19 21:05 joemcmahon

Could you reopen now?

iDevelopper avatar Feb 23 '21 08:02 iDevelopper

Since iOS 13, I think this functionality is exposed for third-party apps, but I did not understand all from now. Can we investigate?

iDevelopper avatar Feb 23 '21 15:02 iDevelopper

https://developer.apple.com/documentation/sirikit should work on iOS devices but will not on Catalyst apps. I will look more into this.

joemcmahon avatar Feb 23 '21 20:02 joemcmahon

For info:

https://deezer.io/hey-siri-play-my-flow-on-deezer-part-1-7cb5232c61d5 https://deezer.io/hey-siri-play-my-flow-on-deezer-part-2-integrating-sirikit-with-deezer-57c20359a0c1

iDevelopper avatar Feb 24 '21 11:02 iDevelopper

It looks to me like our suite of commands is fairly small.

For a radio app with one station, it's pretty much "he Siri, play music on|with ". With multiple stations, it's "hey Siri, play on|with ".

I think "pause " and "stop " are probably the only other commands.

Not sure if there should be a "You can use me with Siri!" screen that explains the commands on first run on not.

joemcmahon avatar Feb 24 '21 17:02 joemcmahon