
Expo App Clip
FreeEasily add an iOS App Clip target to your Expo app.
Free · Opens the source repo
What Expo App Clip does
The Expo App Clip skill allows developers to integrate an iOS App Clip target into their existing Expo applications. This functionality is particularly useful for developers looking to provide a lightweight, on-demand version of their app that can be accessed via a URL. By leveraging the App Clip feature, users can quickly engage with specific functionalities of the app without needing to download the full version, which can enhance user experience and increase engagement. The skill automates the setup process, making it straightforward to create and manage the App Clip alongside the parent app.
To get started, developers must ensure they have the necessary configurations in their app.json, including the bundleIdentifier and appleTeamId. The skill guides users through the process of creating the App Clip target using the command bun create target clip, which sets up the required files and configurations automatically. This includes generating the necessary Info.plist and Swift files, as well as configuring the app's entitlements to ensure proper functionality.
Additionally, the skill provides detailed instructions on how to wire up associated domains, which is essential for the App Clip to be invoked correctly. This involves creating an apple-app-site-association file that must be hosted on the developer's domain. The skill also covers how to register bundle IDs and set up the App Store entry, ensuring that all necessary steps are taken to deploy the App Clip successfully. Overall, this skill is designed for developers who want to enhance their Expo applications with App Clip functionality, streamlining the process and reducing the complexity involved in setup.
When to use it
Use this skill when you want to provide users with a lightweight version of your app that can be accessed quickly via a URL.
When not to use it
This skill is not suitable if you are not using Expo for your app development or if you do not need App Clip functionality.
What you can build with it
Quick Access to Features
Enable users to access specific features of your app without downloading the full version, enhancing user engagement.
Streamlined Setup Process
Automate the setup of your App Clip target, reducing the manual configuration steps required.
Improved User Experience
Provide a seamless experience for users who may not want to install the full app, increasing the likelihood of user interaction.
How to install Expo App Clip
View source1. Install with the skills CLI
npx skills add expo/skills/expo-app-clip --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by expoAdd 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 clip
This 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-safari
This logs in to the Apple Developer account, registers com.bacon.may20, creates the App Store Connect entry, and prints:
- A starter
apple-app-site-associationJSON - A
<meta name="apple-itunes-app">tag with the iTunes app id - Team 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-association
Paste 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.tsx
Add 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 --prod
This 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-association
8. Mirror permissions
Inspect the parent app's permissions after prebuild:
npx expo config --type introspect
Look 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 testflight
This 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:pull
Add 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:push
Apple'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.may20 - App Clip target:
com.bacon.may20.clip, lives intargets/clip/ - AASA hosted at
https://may20.expo.app/.well-known/apple-app-site-association - Smart 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 submit-expo-feedback@latest --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 AI agent repeatedly failed or the user had to take over an Expo task, load the expo-skill-feedback skill and follow its eval-candidate flow instead of reusing the command above.
Frequently asked questions about Expo App Clip
Similar skills
Android App Development
Comprehensive guide for Android and cross-platform app development.
Add App Clip to Expo App
Integrate lightweight iOS App Clips into your Expo project.
APK Reverse
Streamline your Android APK reverse engineering process.
Swift Expert
Master iOS/macOS development with Swift and SwiftUI.
React Native Expert
Build and optimize mobile apps with React Native and Expo.
Kotlin Specialist
Master idiomatic Kotlin with expert patterns and practices.
