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

WorkflowWas Sie schreibenNative-Code-AccessAm besten für
Managed (default)Nur JS/TSVia Expo SDK + Config-PluginsDie meisten Apps
BareJS/TS + Native-CodeFull Xcode/Android StudioApps die Custom Native Modules brauchen

Expo-Ökosystem-Komponenten

KomponenteZweck
Expo CLIDev-Server, Scaffolding
Expo SDK50+ native Module
Expo GoSandbox-App zum Testen
EAS BuildCloud iOS/Android-Builds
EAS SubmitAuto-Submit zum App Store
EAS UpdateOTA-Updates
Expo RouterFile-based Routing
Expo Dev ClientCustom Dev-Client
SnackBrowser-based Expo-Playground

Quickstart: Expo-App erstellen

npm install -g expo
npx create-expo-app my-app
cd my-app
npx expo start

Häufige Expo-SDK-Module

ModulCapability
expo-cameraCamera-Access
expo-locationGPS, Geocoding
expo-notificationsPush-Notifications
expo-secure-storeVerschlüsseltes Key-Value-Storage
expo-local-authenticationFaceID / TouchID
expo-image-pickerPhoto-Library/Camera-Picker
expo-file-systemFile I/O
expo-hapticsHaptic-Feedback
expo-mapsNative Maps
expo-sqliteSQLite-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

AspektExpoReact Native CLI
Setup-KomplexitätNiedrigHoch
Native-CodeVia Config-PluginsDirekt
Build-ProzessEAS CloudLokal Xcode/Gradle
OTA-UpdatesEAS Update built-inManuelles Setup
App-SizeEtwas größerSchlanker
Am besten fürDie meisten AppsHeavy 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.

Wie schnell ist Ihre Website?

Steigern Sie ihre Geschwindigkeit und SEO nahtlos mit unserem kostenlosen Geschwindigkeitstest.

Kostenloser Websitespeed-Test

Analysieren Sie die Ladegeschwindigkeit Ihrer Website und verbessern Sie ihre Leistung mit unserem kostenlosen Seitengeschwindigkeits-Checker.

×