Hi, I have been exploring ideas on how to tap on a Quick Actions and not open the app, instead start a background API task. Is there a way to achieve this ?
Shortcuts
RSS for tagHelp users quickly accomplish tasks related to your app with their voice or with a tap with the Shortcuts API.
Posts under Shortcuts tag
106 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
Hi , how I can run my shortcut by tapping on button from widget?
This is Siri Intent before iOS 16.
func handle(intent: CustomIntent, completion: @escaping (CustomIntentResponse) -> Void) {
completion(CustomIntentResponse(code: .continueInApp, userActivity: nil))
}
This flow working fine.
This is AppIntent after iOS 16. There are 2 ways to continue in app
openAppWhenRun = true
ForegroundContinuableIntent Protocol only works in SwiftUI
But both are not notifying the main app its just opening app without activity. In SiriIntent we can notifiy Main App with completion(CustomIntentResponse(code: .continueInApp, userActivity: nil))
application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool
else its start with didfinishlaunching and we can get useractivity.
Is there any solution for after iOS 16 In AppIntent we can notify app and get NSUserActivity?
Dear community,
I am having troubles to configure an Apple Shortcut with my Eve Aqua automatic irrigation system.
I want the shortcut to run every day at 9 PM, but I need it to check if it rained today or if it is going to rain tomorrow and then stop if its going to rain or was raining today.
Otherwise I would need for it to trigger the Eve Aqua scene I have configured which waters the grass for 30 minutes.
Does anyone know how I can accurate achieve this in a reliable way? So far I have configured "Get Current Weather at my address", also If Precipitation chance is greater than or equal to 70m, if precipitation amount is greater than or equal to 1mm".
But these conditions seem to be ignored...
Thanks a lot for your help!
Fernando
Hi all
i want to create a shortcuts task, leting you choose from a number of menu's, where the chosen items will be added as photo keywords or captations to 1 or more subsequent taken pics.
the main problem is not being able to add the words, using this method:
(it's the Dutch version)
the other problem is that i would like to have the choise to take more pictures with a prompt.
could someone help me with this problem?
thanks a billion!
Currently my app is spelled with an y instead of a i and Siri keeps saying there are not shortcut because when I invoke my shortcut name using ("Use (.applicationName)") Siri alway put the i instead of the y