What kind of actions are allowed for Shortcuts to run on WatchOS?

Generated on 7/30/2024

1 search

Tailscan

This post is brought to you by Tailscan, the best devtool for Tailwind CSS.

Shortcuts on watchOS can perform a variety of actions, leveraging the app intents framework. Here are some key points about the actions allowed for Shortcuts to run on watchOS:

  1. Interactive Widgets: WatchOS 11 supports interactive widgets, allowing users to perform actions directly from a widget without opening the app. For example, users can lock or unlock their door using a home widget (What’s new in watchOS 11).

  2. App Intents: Shortcuts actions are defined as intents in the app intents framework. These intents appear by default as actions in the Shortcuts app and can be used to perform various tasks (Bring your app’s core features to users with App Intents).

  3. Personal Automations and Home Screen Shortcuts: Intents can be used in personal automations and home screen shortcuts, making it easy to integrate app functionalities into daily routines (Bring your app to Siri).

  4. Live Activities: If your app supports live activities on iOS, these can be extended to watchOS, providing timely and contextual information directly on the watch face (Platforms State of the Union).

  5. Confirmation Prompts: For actions that might have significant consequences, such as unlocking a door, you can add an extra step of confirmation to avoid accidental triggers (What’s new in watchOS 11).

These features allow developers to create rich, interactive experiences on watchOS, making it easier for users to perform actions quickly and efficiently.