lovetodream / capacitor-plugin-siri-shortcuts

Capacitor Plugin for Siri Shortcuts
MIT License
17 stars 6 forks source link

Parametrizable shortcut actions (inputs and outputs intents) #1

Closed marioshtika closed 3 years ago

marioshtika commented 3 years ago

Is there a way to run parametrizable shortcut actions? To give inputs or/and get outputs from an action?

Something like this: parametrizable-shortcut-actions

lovetodream commented 3 years ago

There is no straight forward way to implement this. You can provide inputs inside your Capacitor App and donate the pre-configured shortcut to Siri.

Nevertheless I will have a look, if something like that might be possible with the current way I've created this plugin and without having to create to much native code on your own.

marioshtika commented 3 years ago

Thank you very much, for your response. The ideal solution would be the inputs would run through a function on an existing service. But may be, another more simple solution would be sending those inputs to an external endpoint.

lovetodream commented 3 years ago

I didn't find any other way then using Siri Intents, which would be very specific to the app they are used in. Furthermore I couldn't find any way to use Capacitor/Ionic for creating these in a straight forward way. Therefor I am sorry, but I cannot implement this into the plugin at the moment, because I don't see a clear solution and I don't have much time for this project at the moment. If you have time and the expertise to implement this feel free to create a PR.

ahmedelrefaiy commented 2 years ago

Is it resolved? i search for a solution for that and i find nothing!