4 Replies
      Latest reply on Mar 18, 2020 6:27 AM by Neal Marlin
      gtufano Level 1 Level 1 (0 points)

        I'm trying to add support for INPlayMediaIntent in an audio app.

        In a first instance, I would just like to say "Play in My App Name" and have the intent extension called.

        I foolwed religiously the documentation, I checked that everything (entitlements, various plist, etc) is in the Controlling Audio With SiriKit is also in my extension (and app).

        The problem I have is that I'm not able to invoke my extension. Uttering "Play <app name>" open TuneIn (that interesting enough, I don't have installed) with the radio with the same name of the app (its the same radio). "Play using <app name>" have the same result (or some interesting song with related names in the Music app).

        I tried in simulator, iPhone, iPad, in my native language (Italian) and in English. I _think_ I wrote all the needed enchantments, Siri authorization is requested, INPlayMediaIntent is in the list of supported intents (it's the only one, really), media category is "Music", I tried also "Radio", but nothing changed.

        For what I understand (from debugger and logs)  handle(intent: INPlayMediaIntent, completion: (INPlayMediaIntentResponse) -> Void) is never called (nor is func handler(for intent: INIntent) -> Any)


        I think there is something basic I don't understand. Any suggestion is very welcome. Thank you!