react-native-expo

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
The skill is based on Expo SDK (docs from expo/expo repo), generated at 2026-02-26.
Expo provides tooling and services for React Native: app config and Prebuild (Continuous Native Generation), Expo SDK packages, development builds, EAS Build (cloud builds and internal distribution), and EAS Update (over-the-air JS updates). Use development builds for production apps; Expo Go is a limited playground.
本Skill基于Expo SDK(文档来自expo/expo仓库),生成于2026-02-26。
Expo 为React Native提供工具与服务:应用配置与Prebuild(持续原生代码生成)、Expo SDK包、开发构建、EAS Build(云构建与内部分发)以及EAS Update(JavaScript空中更新)。生产应用请使用开发构建;Expo Go仅为功能有限的沙箱环境。

Core References

核心参考

TopicDescriptionReference
App configapp.json, app.config.js/ts, dynamic config, reading in appcore-config
Development workflowDev loop, development builds vs Expo Go, when to rebuildcore-development-workflow
Development and production modesDEV, --no-dev --minify, when to use eachcore-development-mode
Metrometro.config.js, resolver, transformer, cache, env varscore-metro
LoggingConsole in terminal, native logs, log-android / log-ioscore-logging
CNG and Prebuildnpx expo prebuild, --clean, EAS Build and native dirscore-continuous-native-generation
主题描述参考
应用配置app.json、app.config.js/ts、动态配置、应用内读取core-config
开发工作流开发循环、开发构建 vs Expo Go、何时重新构建core-development-workflow
开发与生产模式DEV、--no-dev --minify、各模式适用场景core-development-mode
Metrometro.config.js、解析器、转换器、缓存、环境变量core-metro
日志终端控制台、原生日志、log-android / log-ioscore-logging
CNG与Prebuildnpx expo prebuild、--clean、EAS Build与原生目录core-continuous-native-generation

Features

功能特性

Expo SDK and native code

Expo SDK与原生代码

TopicDescriptionReference
Expo SDK and third-party libsInstall with npx expo install, compatibility, config pluginsfeatures-expo-modules
expo-constantsApp manifest, build info, system constants, extra/env at runtimefeatures-sdk-constants
expo-imagePerformant image component, caching, BlurHash/ThumbHash, contentFitfeatures-sdk-image
expo-file-systemFile and directory API, Paths.cache/document, read/write, downloadfeatures-sdk-filesystem
expo-secure-storeEncrypted key-value store, optional biometric authfeatures-sdk-secure-store
Config pluginsUse and write plugins to modify AndroidManifest, Info.plist during prebuildfeatures-config-plugins
Native modulesExpo Modules API, local module, config plugin for native config, lifecyclefeatures-native-modules
主题描述参考
Expo SDK与第三方库使用npx expo install安装、兼容性、配置插件features-expo-modules
expo-constants应用清单、构建信息、系统常量、运行时额外参数/环境变量features-sdk-constants
expo-image高性能图片组件、缓存、BlurHash/ThumbHash、contentFit属性features-sdk-image
expo-file-system文件与目录API、Paths.cache/document、读写、下载features-sdk-filesystem
expo-secure-store加密键值存储、可选生物识别认证features-sdk-secure-store
配置插件使用并编写插件,在prebuild阶段修改AndroidManifest、Info.plistfeatures-config-plugins
原生模块Expo Modules API、本地模块、用于原生配置的插件、生命周期features-native-modules

EAS Build and Submit

EAS Build与提交

TopicDescriptionReference
EAS BuildCloud builds, eas.json profiles, development/preview/productionfeatures-eas
EAS SubmitSubmit to Google Play and App Store (TestFlight), eas.json, CIfeatures-eas-submit
主题描述参考
EAS Build云构建、eas.json配置文件、开发/预览/生产环境features-eas
EAS Submit提交至Google Play与App Store(TestFlight)、eas.json、CI集成features-eas-submit

Development experience

开发体验

TopicDescriptionReference
iOS Simulator and Android emulatorSetup, npx expo start + i/a, limitations, troubleshootingfeatures-simulators-emulators
主题描述参考
iOS模拟器与Android模拟器配置、npx expo start + i/a、限制、故障排查features-simulators-emulators

Updates and versioning

更新与版本控制

TopicDescriptionReference
expo-updates and EAS UpdateOTA updates, runtime version, channelsfeatures-updates
Upgrading Expo SDKIncremental upgrade, npx expo install --fix, expo-doctorfeatures-versioning
主题描述参考
expo-updates与EAS Update空中更新、运行时版本、渠道features-updates
升级Expo SDK增量升级、npx expo install --fix、expo-doctor工具features-versioning

Best practices

最佳实践

TopicDescriptionReference
DebuggingDev vs production errors, native logs, reproducing crashesbest-practices-debugging
Common development errorsMetro, AppRegistry, SDK version, version mismatch, cachesbest-practices-common-errors
主题描述参考
调试开发与生产环境错误、原生日志、复现崩溃问题best-practices-debugging
常见开发错误Metro、AppRegistry、SDK版本、版本不匹配、缓存问题best-practices-common-errors