专业术语


错误 以下页面包含了一些已弃用术语、技术和工具的定义。

detach

“detach” 这个术语以前在 Expo 中用于指将你的应用 弹出 以使用 ExpoKit

🌐 The term "detach" was previously used in Expo to mean ejecting your app to use ExpoKit.

eject

术语“eject”由 create-react-app 推广,它在 Expo 中用于描述离开标准 Expo 开发环境的舒适区,在该环境中你无需处理构建配置或原生代码。当你从 Expo 中“eject”时,你有两个选择:

🌐 The term "eject" was popularized by create-react-app, and it is used in Expo to describe leaving the cozy comfort of the standard Expo development environment, where you do not have to deal with build configuration or native code. When you "eject" from Expo, you have two choices:

  • “弹出到裸工作流”,即在工作流之间切换并进入裸工作流,在这里你可以继续使用 Expo API,同时对你的原生 Android 和 iOS 项目拥有访问权限和完全控制权。
  • 弹出到 ExpoKit,在这里你可以获得本地项目以及 ExpoKit。此选项已被弃用,并且在 SDK 38 之后已移除对 ExpoKit 的支持。

ExpoKit

ExpoKit 是一个 Objective-C 和 Java 库,它允许你在更大的标准原生项目中使用 Expo SDK 和平台以及你现有的 Expo 项目——这个项目通常是使用 Xcode、Android Studio 或 react-native init 创建的。欲了解更多信息,请参阅 Ejecting to ExpoKit

🌐 ExpoKit is an Objective-C and Java library that allows you to use the Expo SDK and platform and your existing Expo project as part of a larger standard native project — one that you would normally create using Xcode, Android Studio, or react-native init. For more information, see Ejecting to ExpoKit.

ExpoKit 的支持在 SDK 38 之后已结束。Expo 模块可以实现自定义原生配置的支持,而需要更多自定义原生代码的项目可以通过 npx expo prebuild 公开它们的 Android Studio 和 Xcode 项目。

外壳应用

🌐 Shell app

我们有时也会使用另一个术语来指独立应用

🌐 Another term we occasionally use for Standalone app.

XDE

XDE 是一个用于处理 Expo 项目的桌面工具,带有图形用户界面(GUI)。它已被 Expo CLI 取代,现在提供命令行和网络界面。

🌐 XDE was a desktop tool with a graphical user interface (GUI) for working with Expo projects. It's been replaced by Expo CLI, which now provides both command line and web interfaces.