Building Standalone Expo React Native apps locally with Turtle CLI
June 4, 2020
Hinweis (wichtig)
Turtle CLI ist legacy. Wenn du neu startest, nutze EAS Build:
code
npx eas build -p android
Warum Turtle frueher genutzt wurde
- Lokale Builds ohne Expo Build Queue
- Eigene Infrastruktur fuer OTA Updates
Minimaler Ablauf (legacy)
- App exportieren (static bundle)
- Bundle per HTTPS hosten (public URL)
- Turtle build mit
--public-url
Beispiel:
code
expo export --public-url https://example.com
turtle build:android \
--keystore-path /path/to/keystore.jks \
--keystore-alias my_alias \
--public-url https://example.com/android-index.json
Typische Probleme
- Turtle braucht JDK 8
--public-urlmuss HTTPS sein- Turtle arbeitet nur mit
app.json(keinapp.config.js)
Empfehlung
Nur noch nutzen, wenn du eine alte Pipeline pflegen musst. Ansonsten migriere zu EAS Build + EAS Update.