首页指南参考教程

如何使用 Expo Orbit 启动更新

了解如何在审核工作流程中使用 Expo Orbit 打开更新。


Expo 轨道 是一款 macOS 和 Windows 应用,旨在加快从 EAS 安装和运行构建的速度。它使运行构建和更新变得像在 Orbit 中按“打开”一样简单。

¥Expo Orbit is a macOS and Windows app designed to speed up installing and running builds from EAS. It makes running your builds and updates as easy as pressing Open in Orbit.

How does automatic installation and launching of updates work?

当你启动更新时,Orbit 将查找与更新的运行时版本和目标平台匹配的最新开发版本。如果找到兼容的版本,更新将自动安装在目标设备上并使用指向更新的深层链接启动。

¥When you launch an update, Orbit will look for the latest development build that matches the runtime version and target platform of the update. If a compatible build is found, the update will install automatically on the target device and launch with a deep link that points to the update.

如果你没有任何可用的开发版本,无论是因为它们都已过期、你尚未创建、你不使用 EAS Build 还是你是 构建你的应用本地,那么 Orbit 都会提示你如何继续。如果你已经在目标设备上安装了兼容的开发版本,请单击提示中的使用深层链接启动以打开更新。

¥If you don't have any development builds available, either because they have all expired, you haven't created one, you don't use EAS Build, or you are building your app locally, then Orbit will prompt you on how to proceed. Click Launch with deep link in the prompt to open the update if you already have a compatible development build installed on your target device.

先决条件

¥Prerequisites

  • 在按照本指南中的步骤操作之前,请安装 Orbit 应用。你可以直接从 GitHub 发布 下载,也可以查看 替代方法 进行安装。

    ¥Install the Orbit app before following the steps in this guide. You can download it directly from GitHub releases or see the alternative method to install it.

  • 安装应用后,从“设置”登录 Expo 账户。

    ¥After installing the app, sign in to your Expo account from Settings.

使用 Expo Orbit 预览更新

¥Preview an update with Expo Orbit

Expo Orbit launching an update directly from Expo dashboard to an iOS Simulator.

使用 Expo Orbit 进行预览需要你发布更新。如果你尚未发布更新,请在执行下一节中的步骤之前查看 发布更新

¥Previewing with Expo Orbit requires you to have an update published. If you haven't published an update, see Publish an update before following the steps in the next section.

安装并启动更新

¥Install and launch the update

注意:使用 Expo Orbit 启动更新不支持在物理 iOS 设备上进行。它支持 Android 设备/模拟器或 iOS 模拟器。

¥Note: Launching updates using Expo Orbit is not supported on physical iOS devices. It is supported on Android devices/emulators or iOS Simulators.

发布更新后,请按照以下步骤在 Android 模拟器或 iOS 模拟器上打开它:

¥After the update is published, follow these steps to open it on an Android Emulator or iOS Simulator:

  • 导航到项目的更新选项卡。

    ¥Navigate your project's Updates tab.

  • 选择你要预览的更新。

    ¥Select the update you want to preview.

  • 单击预览。这将打开预览对话框。

    ¥Click Preview. This will open the Preview dialog.

  • 在使用 Orbit 打开下,选择一个平台来启动更新。

    ¥Under Open with Orbit, select a platform to launch the update.

  • Orbit 将在选定的 Android 模拟器或 iOS 模拟器上安装并启动更新。

    ¥Orbit will install and launch the update on the selected Android Emulator or iOS Simulator.

你现在可以使用 Expo Orbit 无缝启动和查看更新。

¥You can now seamlessly launch and review updates using Expo Orbit.

Expo 中文网 - 粤ICP备13048890号