Expo: React Native Framework, SDK, EAS Build Guide
Expo ist ein Framework + Plattform für React Native Apps — Managed-Workflow, EAS Build, Expo Go, OTA-Updates. Ships iOS/Android-Apps ohne Native-Config.
Was ist Expo?
Expo ist ein Open-Source-Framework und Cloud-Plattform zum Bauen von React Native Apps. Es abstrahiert die native iOS- und Android-Komplexität, sodass JavaScript-Entwickler mobile Apps shippen können, ohne Swift, Kotlin oder Xcode/Android-Studio-Konfigurationen schreiben oder maintainen zu müssen. Expo ist zu React Native, was Next.js zu React ist: opinionated Tooling, das die langweilige Infrastruktur handhabt.
Expo umfasst das Expo SDK (kuratiertes Set nativer Module mit JavaScript-APIs), Expo Go (Development-Client zum Testen auf Devices ohne lokale Builds), EAS (Expo Application Services — Cloud Build, Submit, Update) und die Expo CLI.
Warum Expo nutzen?
- Native-Setup überspringen.
- Cross-Platform aus einer Codebase.
- Kuratiertes SDK.
- EAS Build.
- OTA-Updates.
- File-System-Routing.
- Backed von Stripe-funded Company.
Expo-Workflows: managed vs bare
| Workflow | Was Sie schreiben | Native-Code-Access | Am besten für |
|---|---|---|---|
| Managed (default) | Nur JS/TS | Via Expo SDK + Config-Plugins | Die meisten Apps |
| Bare | JS/TS + Native-Code | Full Xcode/Android Studio | Apps die Custom Native Modules brauchen |
Expo-Ökosystem-Komponenten
| Komponente | Zweck |
|---|---|
| Expo CLI | Dev-Server, Scaffolding |
| Expo SDK | 50+ native Module |
| Expo Go | Sandbox-App zum Testen |
| EAS Build | Cloud iOS/Android-Builds |
| EAS Submit | Auto-Submit zum App Store |
| EAS Update | OTA-Updates |
| Expo Router | File-based Routing |
| Expo Dev Client | Custom Dev-Client |
| Snack | Browser-based Expo-Playground |
Quickstart: Expo-App erstellen
npm install -g expo
npx create-expo-app my-app
cd my-app
npx expo startHäufige Expo-SDK-Module
| Modul | Capability |
|---|---|
expo-camera | Camera-Access |
expo-location | GPS, Geocoding |
expo-notifications | Push-Notifications |
expo-secure-store | Verschlüsseltes Key-Value-Storage |
expo-local-authentication | FaceID / TouchID |
expo-image-picker | Photo-Library/Camera-Picker |
expo-file-system | File I/O |
expo-haptics | Haptic-Feedback |
expo-maps | Native Maps |
expo-sqlite | SQLite-Datenbank |
EAS Build: Cloud-Builds
{
"build": {
"production": {
"ios": { "simulator": false },
"android": { "buildType": "app-bundle" }
}
}
}OTA-Updates mit EAS Update
eas update --branch production --message "Fix login bug"Expo vs React Native CLI
| Aspekt | Expo | React Native CLI |
|---|---|---|
| Setup-Komplexität | Niedrig | Hoch |
| Native-Code | Via Config-Plugins | Direkt |
| Build-Prozess | EAS Cloud | Lokal Xcode/Gradle |
| OTA-Updates | EAS Update built-in | Manuelles Setup |
| App-Size | Etwas größer | Schlanker |
| Am besten für | Die meisten Apps | Heavy Native-Customization |
FAQ: Expo
Ist Expo kostenlos?
Framework + SDK sind Open-Source. EAS hat freie und bezahlte Tiers.
Sollte ich Expo oder React Native CLI nutzen?
Default zu Expo.
Können Expo-Apps jedes Native-Modul nutzen?
Ja via Config-Plugins.
Was ist Expo Go?
Eine kostenlose Sandbox-App für iOS/Android.
Was ist der Unterschied zwischen EAS Build und EAS Update?
EAS Build kompiliert native Binaries. EAS Update pusht JS-Bundle-Änderungen.
Kann ich zum App Store / Play Store publishen?
Ja. EAS Submit automatisiert Submission.
Was ist Expo Router?
File-based Routing für React Native.
Unterstützt Expo Web?
Ja — derselbe Code kann React Native Web targeten.
Load-Testen Sie das Backend Ihrer Expo-App mit LoadFocus
Expo handhabt den Mobile-Client; LoadFocus handhabt die Backend-Load. Läuft JMeter- und k6-Scripts gegen Ihre API aus 25+ Regionen mit bis zu 12.500 VUs. Registrieren bei loadfocus.com/signup.
Verwandte LoadFocus-Tools
Setze dieses Konzept mit LoadFocus in die Praxis um — derselben Plattform, die alles antreibt, was du gerade gelesen hast.