Reputation: 314
I have a working Siri payments extension on an iOS app. But when I ask Siri "what can you do?" It does not list my app.
Siri does list Cash and Venmo payments apps (Venmo on my colleague's phone). When you tap on the app icon Siri lists some other tutorial example sentences what can users ask Siri using their apps.
I am not able to get my app listed in Siri. Any help, please? All the mentioned phrases in the below plist work actually with Siri.
My AppIntentVocabulary.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendPaymentIntent</string>
<key>IntentExamples</key>
<array>
<string>iPay Steve $40</string>
<string>Using iPay send $30 to Steve</string>
<string>Send $50 to Steve using iPay</string>
<string>Send $5 to Steve with iPay</string>
<string>Send $15 to Steve for lunch using iPay</string>
</array>
</dict>
</array>
</dict>
</plist>
Upvotes: 1
Views: 946
Reputation: 51
I am not sure if you have solved this issue already. This is documentation link for IntentPhrases What helped me:
Upvotes: 1
Reputation: 111
I know this is an old question, but there isn't robust documentation about this topic.
The easy way to make work this is uploading the app to iTunes Connect, you can check the documentation from here.
Pay attention to:
When you submit your app to the App Store, your AppIntentVocabulary.plist file and any localized versions of that file are sent to Siri for processing.
After upload the build, you have to wait some minutes/hours to see your phrases in Siri "what can you do".
Upvotes: 2