AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a step-by-step procedure for integrating an iOS App Clip into an Expo application. It covers the entire lifecycle, from project configuration and target creation to setting up associated domains, hosting the required AASA file, configuring smart app banners, and managing App Store metadata for TestFlight submission. It also includes optional guidance on implementing native modules to detect the App Clip environment and prompt users to install the full application.
What it does
- Adds an iOS App Clip target to an Expo project structure.
- Configures associated domains for both the parent app and the App Clip.
- Guides the creation and hosting of the apple-app-site-association (AASA) file.
- Sets up Smart App Banner meta tags for web-to-app invocation.
- Automates TestFlight build and submission configuration for both targets.
- Provides instructions for managing App Clip metadata and launch experiences.
When to use it
- When you need to ship a lightweight, URL-invocable version of your iOS app.
- When implementing App Clip functionality for an existing Expo project.
- When configuring AASA files for deep linking and App Clip association.
- When you want to display a Smart App Banner to promote your app on the web.
Advantages
- Streamlines the complex process of multi-target iOS configuration in Expo.
- Ensures proper association between web domains and native app targets.
- Provides a clear path for App Store metadata management.
- Includes support for native detection of the App Clip environment.
Usage examples
- “How do I add an App Clip to my existing Expo app?”
- The agent will guide you through running the target creation command, configuring your app.json, and setting up the required associated domains.
- “How do I configure my website to launch my App Clip?”
- The agent will explain how to host the AASA file and add the correct apple-itunes-app meta tag to your website's HTML head.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/expo/expo-app-clip/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip expo-app-clip.zip -d .agents/skills
Documentation by Expo
Add an App Clip to an Expo App
Requirements. Adding the App Clip target is open source. Shipping one requires an Apple Developer Program membership and App Store review, and the AASA file must be served over HTTPS on your domain (any HTTPS host works; EAS Hosting is one option). Building via EAS Build or
bunx testflightuses your EAS plan's build minutes. See https://expo.dev/pricing and https://developer.apple.com/app-clips/.
Adds an iOS App Clip target to an Expo project. The Clip lives in targets/clip/, ships alongside the parent app, and is invoked from a URL on the app's domain via an Apple App Site Association (AASA) file.
The parent app's bundle ID becomes com.<username>.<app-name> and the Clip's is automatically derived as <parent>.clip (e.g. com.bacon.may20.clip).
1. Set bundleIdentifier and appleTeamId
bun create target warns if these are missing. Add to app.json:
{
"expo": {
"ios": {
"bundleIdentifier": "com.<username>.<app-name>",
"appleTeamId": "XX57RJ5UTD"
}
}
}2. Add the App Clip target
bun create target clipThis installs @bacons/apple-targets, adds it to the plugins array in app.json, and writes:
targets/clip/expo-target.config.js— the target's config plugintargets/clip/Info.plist— Clip Info.plisttargets/clip/AppDelegate.swift,Assets.xcassets, etc.
Pick a good icon or reuse the existing one defined in the app — check it with bunx expo config under the icon or ios.icon key.
3. Wire up associated domains
The parent app and the Clip each need the Associated Domains entitlement pointing at the domain that hosts the AASA file.
In app.json, add both applinks: (parent) and appclips: (Clip invocation) entries:
{
"expo": {
"ios": {
"associatedDomains": [
"applinks:may20.expo.app",
"appclips:may20.expo.app"
]
}
}
}In targets/clip/expo-target.config.js, declare the Clip's entitlement:
/** @type {import('@bacons/apple-targets/app.plugin').ConfigFunction} */
module.exports = (config) => ({
type: "clip",
icon: "https://github.com/expo.png",
entitlements: {
"com.apple.developer.associated-domains": ["appclips:may20.expo.app"],
},
});If you skip this,
expo prebuildwill print:Apple App Clip may require the associated domains entitlement but none were found.
4. Register bundle IDs and create the App Store entry
bunx setup-safariThis logs in to the Apple Developer account, registers com.bacon.may20, creates the App Store Connect entry, and prints:
A starter
apple-app-site-associationJSONA
<meta name="apple-itunes-app">tag with the iTunes app idTeam ID, iTunes ID, and Bundle ID
5. Host the AASA file
App Clips are invoked when iOS fetches https://<your-domain>/.well-known/apple-app-site-association and finds a matching appclips entry.
mkdir -p public/.well-known
touch public/.well-known/apple-app-site-associationPaste the JSON setup-safari printed, but add an appclips block for the Clip's full app ID (<TeamID>.<ClipBundleID>). The output of setup-safari only covers the parent app:
{
"applinks": {
"details": [
{
"appIDs": ["XX57RJ5UTD.com.bacon.may20"],
"components": [{ "/": "*", "comment": "Matches all routes" }]
}
]
},
"appclips": {
"apps": ["XX57RJ5UTD.com.bacon.may20.clip"]
},
"activitycontinuation": {
"apps": ["XX57RJ5UTD.com.bacon.may20"]
},
"webcredentials": {
"apps": ["XX57RJ5UTD.com.bacon.may20"]
}
}Notes:
The file has no extension and no
Content-Typerequirements beyond being served as-is. Expo Router static export serves files inpublic/verbatim.The
appclipsblock is what lets a URL on the domain launch the Clip.webcredentialsis used for sharing credentials between the website, parent app, and the App Clip.activitycontinuationis optional and used for sharing the link between mobile and desktop. Must be used withHeadfrom expo-router — see https://docs.expo.dev/router/advanced/apple-handoff/Notation and route-disabling details: https://sosumi.ai/documentation/xcode/supporting-associated-domains
6. Add the Smart App Banner meta tag
Create src/app/+html.tsx (Expo Router's HTML shell) and add the tag from setup-safari. Create the versioned template if it doesn't exist:
bunx expo customize src/app/+html.tsxAdd the meta tag to the <head>:
import { ScrollViewStyleReset } from "expo-router/html";
export default function Root({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-itunes-app" content="app-id=6771566491" />
<ScrollViewStyleReset />
</head>
<body>{children}</body>
</html>
);
}To make the website show the App Clip card instead of the install card, use:
<meta
name="apple-itunes-app"
content="app-id=6771566491, app-clip-bundle-id=com.bacon.may20.clip, app-clip-display=card"
/>7. Deploy the website
The AASA file must be live before iOS will trust the association. Use EAS Hosting:
bunx expo export -p web
eas deploy --prodThis publishes the site (including /.well-known/apple-app-site-association) at https://<slug>.expo.app. Verify:
curl https://may20.expo.app/.well-known/apple-app-site-association8. Mirror permissions
Inspect the parent app's permissions after prebuild:
npx expo config --type introspectLook at the infoPlist object — mirror the permission keys in the App Clip's Info.plist so matching APIs can be used from the Clip.
Set deploymentTarget: "17.6" in the Clip's target config — App Clips have a higher minimum size limit in iOS 17.6.
If the app uses push notifications or location services, add to the App Clip's Info.plist to request the necessary permissions:
<key>NSAppClip</key>
<dict>
<key>NSAppClipRequestEphemeralUserNotification</key>
<false/>
<key>NSAppClipRequestLocationConfirmation</key>
<true/>
</dict>9. Build and submit to TestFlight
bunx testflightThis will:
Generate an
eas.jsonif missing.Set up credentials for both targets (parent + Clip). Each gets its own provisioning profile but can share a single Distribution Certificate.
Sync capabilities — note
Enabled: Associated Domainsfor the Clip target.Build, upload, and schedule a TestFlight submission.
10. Configure App Clip metadata
Pull existing App Store metadata to local:
eas metadata:pullAdd apple.appClip to store.config.json. Up to 3 invocation URLs can launch the Clip from a web page:
{
"configVersion": 0,
"apple": {
"appClip": {
"defaultExperience": {
"action": "PLAY",
"releaseWithAppStoreVersion": true,
"reviewDetail": {
"invocationUrls": ["https://may20.expo.app/", null, null]
},
"info": {
"en-US": {
"subtitle": "Instantly native with Expo",
"headerImage": "store/apple/app-clip/en-US/asc-app-clip.png"
}
}
}
}
}
}The headerImage must be a 1800x1200 PNG with no opacity.
Push back to the store:
eas metadata:pushApple's recommended App Clip metadata guidelines: https://sosumi.ai/documentation/appclip/configuring-the-launch-experience-of-your-app-clip
What you get
Parent app target:
com.bacon.may20App Clip target:
com.bacon.may20.clip, lives intargets/clip/AASA hosted at
https://may20.expo.app/.well-known/apple-app-site-associationSmart App Banner meta tag on every web route
Every route linked to its native counterpart
TestFlight build of the parent app with the Clip embedded
Once Apple invokes the Clip from a URL on the domain, iOS opens targets/clip/'s entry point which loads the React Native app.
Native detection (optional)
To let JS detect when it's running inside an App Clip and present an install prompt for the full app, create a local Expo module (bunx create-expo-module --local) that exposes navigator.appClip.prompt().
See ./references/native-module.md for the Swift module, TypeScript interface, and usage.
References
./references/native-module.md — Local Expo module to detect App Clip context and present the SKOverlay install prompt
Submitting Feedback
If you encounter errors, misleading or outdated information in this skill, report it so Expo can improve:
npx --yes @expo/agent-cli@latest feedback --category skills --subject "expo-app-clip" "<actionable feedback>"Only submit when you have something specific and actionable to report. Include as much relevant context as possible.
If an agent repeatedly fails at an Expo task or the user has to step in, submit a brief report of the task, expected result, and what went wrong using --category evals and the relevant Expo package or command as --subject.
Files
- ATTRIBUTION.mdAdded by AutoGineer865 B
- LICENSELicence file added by AutoGineer1.1 KiB
- SKILL.md9.4 KiB
- agents/openai.yaml426 B
- references/native-module.md2.3 KiB
ATTRIBUTION.md
Attribution
This folder is an unmodified copy of the Agent Skill "expo-app-clip", distributed by AutoGineer (https://autogineer.com/agent-skills).
Commit: a9e5bd3fa00b4e61f632e43f85da73aee1942582
Published by: Expo (https://github.com/expo)
Publisher: Expo (https://github.com/expo)
Licence: MIT License (https://github.com/expo/skills/blob/a9e5bd3fa00b4e61f632e43f85da73aee1942582/plugins/expo/LICENSE)
Licence evidence: licence file plugins/expo/LICENSE
Retrieved: 2026-11-07
The skill's own files are unmodified copies. AutoGineer is not affiliated with or endorsed by the author or the publisher.
Files added by AutoGineer
ATTRIBUTION.md: this file, written by AutoGineer
LICENSE: copied from plugins/expo/LICENSE
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs network access, Needs Node.js
Security
What our scanner noticed· Low risk
- Instructions that use the network
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Expo
- Publisher
- Expo (Official)
- Source
- expo/skills · plugins/expo/skills/expo-app-clip · commit a9e5bd3
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from plugins/expo/LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Expo or Expo.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download expo-app-clip.zip