Urgent.News

What's breaking now, across thousands of outlets.

Tech

Wiring Apple's App Intents into your Expo app's JavaScript with expo-app-intents

You've built a restaurant app, and a customer tells Siri "order the tiramisu" expecting it to just work. It doesn't, because your app has no way to tell iOS what actions it supports or what data lives inside it. That's the gap expo-app-intents closes. The package connects your Expo app to Apple's App Intents framework , so people can run your app's actions through Siri and Shortcuts, find its…

The expo-app-intents package enables integrating Apple's App Intents framework into your Expo app, allowing actions to be executed through Siri and Shortcuts, discovered via Spotlight, and providing context to Apple Intelligence. App Intents can be exposed as shortcut parameters for a restaurant app to showcase dishes or for a mail app to display draft actions. The package is currently in alpha and recommended to be built with Xcode 27 and tested on iOS 27, although it supports iOS 16.4 and later.

Two main challenges arise when integrating App Intents with an Expo app: Swift declarations must exist as Swift types before the app launches, and intent triggers can occur before the JavaScript bundle is ready. expo-app-intents addresses these issues by connecting Swift declarations to JavaScript handlers and storing pending invocations until your app is ready to process them.

It includes templates for building actions and data, and requires Swift types conforming to protocols like AppIntent, AppEntity, EntityQuery, and AppShortcutsProvider. Expo inline modules streamline the creation of these Swift types, compiling them into your app target without manual Xcode project editing.

After installation, you can use the starter templates such as the counter template to get started. The counter example demonstrates how to declare an app intent, define a Swift struct with the action, and connect it to JavaScript handlers. The setCount function updates the counter state, and useAppIntents handles pending invocations.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Genetec Security Center 5.9 Is End of Life

I’ve walked into enough server rooms to recognize this one on sight. Somebody stood up Security Center 5.9 back in 2020, it worked, and that was the end of the conversation.

  • Genetec Security Center 5.9 is end of life since December 2025.
  • Running outdated versions poses significant security risk.
  • Upgrade to 5.14 or Security Center SaaS recommended.

More from Thursday 22 October →