IOS 10 Siri support for training using special vocabulary

In my application, I would like to tell Siri something like:

So, I turned on Siri, added a goal, implemented the INStartWorkoutIntentHandling delegate INStartWorkoutIntentHandling (as well as others), and everything works.

Now I can say Start a workout with MyAppName . Perfekt!

Now I would like to tell her something like Start an activity using MyAppName or even Start a hike using MyAppName .

So, I went and added AppIntentVocabulary.plist something like this: enter image description here The quick question is there ... Dictionary identifier ... If fe Work-Campaign should be used to start, end, pause, resume, cancel ... should the identifier be the same for all of them?

Now I face three problems.

1. I can tell Siri Start a hike , and it will work, she will ask me which application I should use. I tell her Start a hike using MyApp and she will tell me that she cannot find it in Apple Music?!? What the heck?

2. If I add the word Activity to my dictionary, it will only open the iOS Activities application ... Never ask if I can open my application.

3. Upon presentation, I get missing missing warning words Like No example phrase was provided for INStartWorkoutIntent in the "en" language , which I have! or Sample phrase "Start a Hike using MyAppName" was not classified as a INStartWorkoutIntent intent

I would be very happy if someone could show me a valid sample AppIntentVocabulary.plist file that works great with siri and iTunes Connect!

+6
source share
2 answers

Unfortunately, you cannot replace a workout with activity or a hike.

Sirikit only supports very limited doamins at the moment.

In the case of training intentions, Siri expects the phrase: Training will be in the spoken phrase, otherwise siri will not open the application.

For exmaple: you will need to say โ€œStart your hiking trainingโ€ using โ€œMy appโ€. Before you need to register a special dictionary and include a trip or any other workout name in the list of notes

+1
source

Decision:

  • Launch the Settings app, then scroll down and tap Safari. In the "General" section at the top, click "Search Bar."
  • Select your preferred search engine from the list. This will change Siri's default search from apple music to yours.

Hope this works. Before you try this, please keep in mind that I am not responsible for any problems or losses when performing this procedure, you do this at your own peril and risk.

I will try to check your second and third problems and answer this soon.

thanks

-one
source

All Articles