Closed mishelson closed 2 years ago
Yeah, that seems like a great addition, I'll look into this next week.
I've added the feature with version 2.2.0
To Native -> SiriShortcuts present 96927831 ⚡️ Error: Plugin SiriShortcuts does not respond to method call "present" using selector "present:". ⚡️ Ensure plugin method exists, uses @objc in its declaration, and arguments match selector without callbacks in CAP_PLUGIN_METHOD. ⚡️ Learn more: https://capacitorjs.com/docs/plugins/ios/#defining-methods 2021-10-15 17:26:17.526034-0600 App[6688:50955] [boringssl] boringssl_metrics_log_metric_block_invoke(144) Failed to log metrics
Could you provide the related code?
You might also have a look at the working example. https://github.com/lovetodream/siri-shortcuts-ionic-angular-sample
Everything is perfect with your code, the problem was the parameters used equal to the donate. Your example helped me, thank you very much, you are the best @lovetodream
Glad to help
I have used similar plugins of sirishorts in previous versions of capacitor, we could add the "Present" function to create the "add to siri" within our application. It would be incredible to be able to do it to facilitate the user experience when adding the shortcuts either by voice or directly by text.
somethings like this: