react-native-expo
Skill1 starsChanged 7 months agoMITView on GitHub
Build a production React Native app with Expo — EAS builds, OTA updates via expo-updates, native modules without ejecting, push notifications, deep links, app store submission, and the Expo SDK upgrade discipline. Use when starting a new mobile app or when an existing RN-vanilla project should switch to Expo.
- Reads credentials
- Sends data out
2 other projects use a version of this.
Adopted by
Most recently taken up by
- maikotrindade/awesome-react-native-skillstheir own version, first seen May 21, 2026
- mumudevx/agent-skillstheir own version, first seen Feb 19, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- maikotrindade/awesome-react-native-skills★ 12same name
- mumudevx/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository50 other files it gives its agents.
- algolia-searchSkill
- audit-tautological-testsSkill
- blame-archaeologySkill
- brevo-emailSkill
- bun-runtimeSkill
- clerk-authSkill
- cloudflare-workersSkill
- dbt-data-modelingSkill
- explain-this-diffSkill
- extract-skill-from-sessionSkill
- fastapi-productionSkill
- find-dead-codeSkill
- find-real-bugSkill
- gdpr-dpiaSkill
- github-actions-ciSkill
- graphql-relaySkill
- grpc-servicesSkill
- hipaa-auditSkill
- india-dpdp-actSkill
- java-8-to-21Skill
- jest-to-vitestSkill
- kubernetes-helmSkill
- mongo-to-postgresSkill
- nextjs-pages-to-appSkill
- node-version-upgradeSkill
- opentelemetry-instrumentSkill
- pci-dss-checklistSkill
- plan-the-rollbackSkill
- python-2-to-3Skill
- razorpay-integrationSkill
- scaffold-cli-toolSkill
- scaffold-fullstack-appSkill
- scaffold-go-microserviceSkill
- scaffold-new-appSkill
- scaffold-saas-starterSkill
- sentry-monitoringSkill
- shrink-this-prSkill
- soc2-evidenceSkill
- spec-from-conversationSkill
- stripe-integrationSkill
- supabase-backendSkill
- terraform-patternsSkill
- threat-modeling-strideSkill
- triage-stack-traceSkill
- wcag-accessibility-auditSkill
- webpack-to-viteSkill
- write-adrSkill
- write-commit-messageSkill
- write-pr-descriptionSkill
- write-runbookSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 105
No Mac required for iOS builds.
- Distinctive: line 188
Avoid Redux unless you have specific needs (time-travel debugging, complex undo).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
React Native + Expo
Modern Expo (SDK 53+) is the default React Native experience now. Bare RN is for cases that genuinely need it; everyone else gains by starting with Expo.
When to use
- New mobile app, iOS + Android.
- Cross-platform with web (Expo Router supports React Native Web).
- You want EAS Build (cloud-built iOS without a Mac).
- You want OTA updates (push JS-only fixes without an app store review).
When NOT to use
- Game engine — use Unity / Unreal.
- Heavy native UI customizations that fight Expo defaults.
- App must work fully offline-first with custom native sync layers — possible but bare RN is simpler.
Decisions made for you
| Decision | Choice | Why |
| Framework | Expo SDK 53+ | Workflow > Bare unless blocked |
| Routing | Expo Router (file-based) | Replaces React Navigation boilerplate |
| State | Zustand or TanStack Query (server) | Redux is overkill for most apps |
| Auth | Clerk Expo SDK / Supabase / your backend | Don't roll auth on mobile |
| Builds | EAS Build (cloud) | No Mac required; CI integration |
| Updates | expo-updates (OTA) | Bug fixes without store review |
| Push | expo-notifications | One API for FCM + APNs |
| Deep links | expo-linking + Expo Router | Universal links, scheme handling |
| Native modules | Expo Modules API | Don't eject; write custom modules with Expo Modules |
| Testing | Jest + Detox (E2E) or Maestro | Maestro is simpler for most |
Project layout (Expo Router)
my-app/
app/
_layout.tsx # root layout
(tabs)/
_layout.tsx # tab nav
index.tsx # home
profile.tsx
auth/
sign-in.tsx
sign-up.tsx
[...not-found].tsx
components/
hooks/
lib/
api.ts
auth.ts
assets/
app.json # expo config
eas.json # EAS build profiles
package.json
tsconfig.jsonapp.json controls the entire app config — bundle ID, icons, splash, plugins. Never edit native iOS/Android code directly in Expo workflow; configure via plugins.
EAS Build setup
npx expo install
eas init # creates project on EAS
eas build:configure # creates eas.json// eas.json
{
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal",
"ios": { "simulator": true },
"android": { "buildType": "apk" }
},
"production": {
"autoIncrement": true,
"channel": "production"
}
},
"submit": {
"production": {}
}
}Build commands:
eas build --profile development --platform ios # for sim/device dev
eas build --profile production --platform all # store-bound builds
eas submit --platform ios --latest # uploads to App Store ConnectNo Mac required for iOS builds. GH Actions integrates via eas build triggered from CI.
OTA updates (the killer feature)
eas update --channel production --message "fix login bug"Pushes the JS bundle to all installs of the matching native build. Limitation: OTA can only update JS — native deps (libraries with native code, Expo SDK upgrades) require a new build.
Track which native version supports which OTA bundle via runtimeVersion:
// app.json
{ "expo": { "runtimeVersion": { "policy": "appVersion" } } }Each store build has a runtimeVersion; OTA only delivers to matching builds.
Push notifications (Expo's wrapper)
import * as Notifications from "expo-notifications";
// Request permission
const { status } = await Notifications.requestPermissionsAsync();
if (status !== "granted") return;
// Get Expo push token (one token works for both iOS and Android)
const token = (await Notifications.getExpoPushTokenAsync()).data;
// Send to your backend for storage
// Backend sends push via Expo Push API
fetch("https://exp.host/--/api/v2/push/send", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
to: token,
title: "Hi",
body: "Hello from server",
data: { url: "myapp://chat/123" },
}),
});Expo's relay handles APNs (Apple) and FCM (Google) for you. For high-volume, switch to direct APNs/FCM later — expo-server-sdk makes it interchangeable.
Deep links
app.json:
{
"expo": {
"scheme": "myapp",
"ios": { "associatedDomains": ["applinks:example.com"] },
"android": { "intentFilters": [{ "data": [{ "scheme": "https", "host": "example.com" }], "autoVerify": true }] }
}
}Universal links route automatically with Expo Router file-based routing — /chat/123 opens app/chat/[id].tsx. No manual route registration.
State + server data
// Zustand for client state
import { create } from "zustand";
const useAppStore = create((set) => ({
theme: "light",
setTheme: (t) => set({ theme: t }),
}));
// TanStack Query for server data
import { QueryClient, QueryClientProvider, useQuery } from "@tanstack/react-query";
const qc = new QueryClient();
function App() {
return <QueryClientProvider client={qc}>...</QueryClientProvider>;
}
function ProjectList() {
const { data } = useQuery({ queryKey: ["projects"], queryFn: api.listProjects });
return <FlatList data={data} ... />;
}Avoid Redux unless you have specific needs (time-travel debugging, complex undo). Zustand + TanStack Query handles 95% of cases with 1/10 the boilerplate.
Anti-patterns
- Ejecting from Expo because you "need a native module" — Expo Modules API + config plugins handle most cases. Eject only after exhausting alternatives.
- Editing
ios/orandroid/folders directly — gets clobbered on prebuild. Use config plugins. - OTA-pushing native changes — silently fails because runtimeVersion mismatches. Build, then update.
- One Expo project for prod + staging — same Push token namespace, same OTA channel risk. Use separate slugs and EAS projects.
- Storing tokens in AsyncStorage in plain text — use
expo-secure-storefor credentials. useEffectfor navigation side effects — useexpo-router's typed navigation helpers.- No splash + icon variants — store rejection. Generate via
expo-splash-screenandexpo-app-icon-utils. - Skipping
runtimeVersion— OTA mismatches cause crashes; users panic. - No error boundaries — RN white screen of death. Wrap top-level routes.
- Pushing without internal preview build — store rejection rate skyrockets without TestFlight/Internal Testing.
- Hardcoded API URLs without
.env— staging vs prod mix-up. Useexpo-constants+ EAS env vars.
Verify it worked
npx expo startopens dev menu; QR code launches the app on phone via Expo Go (or dev client).eas build --profile preview --platform iosproduces a.ipayou can sideload via TestFlight.- Tapping a deep link
myapp://chat/123opens the right screen. - Push notification with
data: { url: ... }opens the right screen on tap. - OTA update via
eas updatereaches a real device within ~1 min after force-close + reopen. runtimeVersionis set; OTA to a build with mismatched runtime is correctly skipped (no crash).- Auth tokens stored in
expo-secure-store, notAsyncStorage. - Production submission to App Store + Google Play reviews in standard time (no rejections from missing icons/splash/permissions strings).
- App opens on cold start under 3s on mid-tier Android.
- CI runs
eas build --non-interactiveon tag push.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

