sindresorhus / Actions

⚙️ Supercharge your shortcuts
https://sindresorhus.com/actions
MIT License
2.49k stars 103 forks source link

does not run when locked #203

Closed rmichelena closed 6 months ago

rmichelena commented 7 months ago

Description

I tried to use Actions (specifically, the "ask for text with timeout" one) on a Shortcut that is run via automations, so in other words sometimes it runs when the iPhone is locked... and in that case, it errors out with The request to open "com.sindresorhus.Actions" failed ; so no way around this?

macOS/iOS version

iOS 17.1

Shortcut URL

No response

sindresorhus commented 6 months ago

The action needs to open the Actions app to show the user-interface to provide input, and it cannot open when the device is locked. There's no possible workaround.

rmichelena commented 6 months ago

So other actions of the Actions app, those that do not require user interface, can run via automations even when the iPhone is locked?

sindresorhus commented 6 months ago

Yes