analogcode / Swift-Radio-Pro

Professional Radio Station App for iOS!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Hey Siri / Siri Shortcut Support

mannyd209 opened this issue · 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

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

Could you reopen now?

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

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

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.