Skip to content
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

Get list of existing shortcuts #51

Open
tetsuwanadam opened this issue Mar 14, 2023 · 2 comments
Open

Get list of existing shortcuts #51

tetsuwanadam opened this issue Mar 14, 2023 · 2 comments

Comments

@tetsuwanadam
Copy link

tetsuwanadam commented Mar 14, 2023

The ability to get a list of shortcuts that have already been set would be useful, for example when following Apple's guidelines here (see attached pic).

In the previous issue where this was mentioned you asked about the related native method. I believe getAllVoiceShortcuts would be the one.

Thanks for making this plugin!

Screenshot 2023-03-14 at 6 39 23 PM

@lovetodream
Copy link
Owner

Sorry for the late response, are you creating your shortcuts with present(...) or donate(...)? Because for donate(...), you'll have to keep track of which shortcuts you've donated somewhere in your own code, because iOS doesn't provide an API for this.
If you're using present(...), then getAllVoiceShortcuts seems to be the right method and I can could add it then.

@tetsuwanadam
Copy link
Author

No worries, thanks for getting back in touch. Yes, present is what I'm using. It would be great to have getAllVoiceShortcuts implemented!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants