-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Followed readme step by step but it did not work. #60
Comments
I was able to make it work using present function. donate did not work for me. Is there an expectation that user will interact with the app before a shortcut is created using donate? Also how can I pass some parameter from shortcut to my app. |
I tried to do it too but I couldn't succeed. Can you tell me how you did this? |
Same problem, Present() works, but not donate(). :/ any ideas ? |
Your app must've called donate at least once before the related action can be found in the Shortcuts app (you might have to search for your app when creating a new shortcut). If everything has been configured correctly you should see the action in the list. It might take more donations until it shows app in some cases, I couldn't find out why this happens sometimes but it happened for me. Disclaimer: I did move all my apps to native tech a few years ago, so I did not use capacitor for a long time.
This is not possible with the implementation used by the plugin. What you want to use would require custom native code, which is different for every app/usecase. Therefore it is not possible to offer such a functionality in a generic plugin afaik. For such a functionality you would need to implement App Intents: https://developer.apple.com/documentation/appintents/creating-your-first-app-intent |
What does everyone of you want to achieve with the donate function, maybe there is a misunderstanding here? |
I have followed the read me step by step.
xcode version:15+
tested on ios: 17+(actual device) and 15+(Emulator)
Capacitor: 6
capacitor-plugin-siri-shorts version 6
Followed every step given in the read me file. however I could not see any new entry in shortcuts app.
I had used shortcuts.donate function. I could see its log.
The text was updated successfully, but these errors were encountered: