Design great actions for Shortcuts, Siri, and Suggestions

RSS for tag

Discuss the WWDC21 session Design great actions for Shortcuts, Siri, and Suggestions.

Posts under wwdc21-10283 tag

5 Posts

Post

Replies

Boosts

Views

Activity

Shortcuts open URL on working on macOS but working on iOS
We have a number of shortcuts that build a HTML with JS in a Text action. We then base64 encode that Text action and then use the URL action to parse it as "data:text/html;base64, Base64 Encoded". We then open the URL with the Open action. This works perfect in iOS on iphone and Ipad. Now that macOS supports Shortcuts we tried our automations and all of them fail to open the URL. The error we get is "Shortcuts could not open the app for the URL scheme "data" because the app is not installed on this device Any ideas would be greatly appreciated
0
0
1.6k
May ’22
Why Siri Suggestion that show in Photo share sheet limit show 20 count persons for group?
I develop my an IM app for support Siri suggestion feature. I donate a INSendMessageIntent when user send message in group. I create INPerson array by users in that group. But the photo share sheet only show max 20 persons, the trust is I set persons parameters count is 56. Who can explain why limit show max group users count, or my anything wrong? I circle the key point in picture by red pencil. The second and the fourth chat that users in group count more than 20.
0
0
1.4k
Feb ’22
How to implement "Add to Siri" new UI on iPadOS 15 ?
The session says that "when someone taps Add to Siri, the shortcut is added instantly, using your suggested invocation phrase". (at 21 min in Video) Now we can see that new UI at iOS 15 beta 2. But on iPadOS 15 beta 2, it looks like unexpected behavior. It looks like INUIEditVoiceShortcutViewController shows in UISplitViewController, but we expect that in UIViewController itself. And when we tap "Back" button, INUIEditVoiceShortcutViewController shows on left side of window. It's Okay when the window has narrow width. This is what i expected. Is there any way to implement "Add to Siri" feature or is it an iPadOS bug ?
1
0
1.3k
Jul ’21
A voice shortcut which Added to Siri can not be removed in particular case in iOS 15 beta 3
I wrote a minimum app to check "Add to Siri" feature. but I found that we can not removed a voice shortcut just in particular case. Tap add to Siri button to add voice shortcut first time. Now we can see iOS 15's new user interface to add shortcut to Siri. Just tap Done button. The button says "Added to Siri". And I confirmed that we can execute my feature by my voice correctly. Then tap the button again. Next, I want to remove shortcut, so tap remove button. Then the button says "Add to Siri" which implies the shortcut has not registered to system any more. That's nice. Tap the button once again. Lastly, I want to remove shortcut again, but unexpectedly nothing happened and modal screen remains to keep showing when we tap the remove button. Seems like bug? in Code I set INUIAddVoiceShortcutButtonDelegate to my Instance. and it has two callback method. func present(_ addVoiceShortcutViewController: INUIAddVoiceShortcutViewController, for addVoiceShortcutButton: INUIAddVoiceShortcutButton) func present(_ editVoiceShortcutViewController: INUIEditVoiceShortcutViewController, for addVoiceShortcutButton: INUIAddVoiceShortcutButton) One is called when my shortcut is not registered to system yet. and another's called when it's registered already. And my code set editVoiceShortcutViewController.delegate just latter one. I think this is the reason why my button has NO-response. But I don't know how to prevent being called former callback. Is this my own coding issue or Bug of iOS 15 beta 3 ?
2
0
1.6k
Jul ’21
Shortcuts open URL on working on macOS but working on iOS
We have a number of shortcuts that build a HTML with JS in a Text action. We then base64 encode that Text action and then use the URL action to parse it as "data:text/html;base64, Base64 Encoded". We then open the URL with the Open action. This works perfect in iOS on iphone and Ipad. Now that macOS supports Shortcuts we tried our automations and all of them fail to open the URL. The error we get is "Shortcuts could not open the app for the URL scheme "data" because the app is not installed on this device Any ideas would be greatly appreciated
Replies
0
Boosts
0
Views
1.6k
Activity
May ’22
Why Siri Suggestion that show in Photo share sheet limit show 20 count persons for group?
I develop my an IM app for support Siri suggestion feature. I donate a INSendMessageIntent when user send message in group. I create INPerson array by users in that group. But the photo share sheet only show max 20 persons, the trust is I set persons parameters count is 56. Who can explain why limit show max group users count, or my anything wrong? I circle the key point in picture by red pencil. The second and the fourth chat that users in group count more than 20.
Replies
0
Boosts
0
Views
1.4k
Activity
Feb ’22
How to set Siri Voice in AVSpeechSynthesizer
I would like to have access to Siri Voice in AVSpeechSynthesizer to read text in our applications. I checked that it can already be accessed in Voice Over but not in Speech. I don't know if it can already be done in iOS 15. I need your help. Please.
Replies
1
Boosts
0
Views
3.4k
Activity
Oct ’21
How to implement "Add to Siri" new UI on iPadOS 15 ?
The session says that "when someone taps Add to Siri, the shortcut is added instantly, using your suggested invocation phrase". (at 21 min in Video) Now we can see that new UI at iOS 15 beta 2. But on iPadOS 15 beta 2, it looks like unexpected behavior. It looks like INUIEditVoiceShortcutViewController shows in UISplitViewController, but we expect that in UIViewController itself. And when we tap "Back" button, INUIEditVoiceShortcutViewController shows on left side of window. It's Okay when the window has narrow width. This is what i expected. Is there any way to implement "Add to Siri" feature or is it an iPadOS bug ?
Replies
1
Boosts
0
Views
1.3k
Activity
Jul ’21
A voice shortcut which Added to Siri can not be removed in particular case in iOS 15 beta 3
I wrote a minimum app to check "Add to Siri" feature. but I found that we can not removed a voice shortcut just in particular case. Tap add to Siri button to add voice shortcut first time. Now we can see iOS 15's new user interface to add shortcut to Siri. Just tap Done button. The button says "Added to Siri". And I confirmed that we can execute my feature by my voice correctly. Then tap the button again. Next, I want to remove shortcut, so tap remove button. Then the button says "Add to Siri" which implies the shortcut has not registered to system any more. That's nice. Tap the button once again. Lastly, I want to remove shortcut again, but unexpectedly nothing happened and modal screen remains to keep showing when we tap the remove button. Seems like bug? in Code I set INUIAddVoiceShortcutButtonDelegate to my Instance. and it has two callback method. func present(_ addVoiceShortcutViewController: INUIAddVoiceShortcutViewController, for addVoiceShortcutButton: INUIAddVoiceShortcutButton) func present(_ editVoiceShortcutViewController: INUIEditVoiceShortcutViewController, for addVoiceShortcutButton: INUIAddVoiceShortcutButton) One is called when my shortcut is not registered to system yet. and another's called when it's registered already. And my code set editVoiceShortcutViewController.delegate just latter one. I think this is the reason why my button has NO-response. But I don't know how to prevent being called former callback. Is this my own coding issue or Bug of iOS 15 beta 3 ?
Replies
2
Boosts
0
Views
1.6k
Activity
Jul ’21