首页指南参考教程

EAS 更新常见问题解答

有关 EAS 更新的常见问题。


发布更新时必须遵循哪些准则

¥What guidelines must I follow when publishing updates

EAS 更新的规则之一是你需要遵循你正在构建的平台和应用商店的规则。这意味着你的更新需要遵循 App Store 和 Play Store 指南,包括更新的内容以及你如何使用它们。这通常意味着需要审查对应用行为的更改。

¥One of the rules of EAS Update is that you need to follow the rules of the platforms and app stores you are building for. This means your updates need to follow the App Store and Play Store guidelines, including the content of the updates and how you use them. This usually means changes to your app's behavior need to be reviewed.

App Store 规则会定期更改,就像你在没有 Expo 的情况下编写应用时可能需要遵循这些规则一样,当你使用 Expo 和 EAS Update 时也需要遵循它们。

¥App Store rules regularly change and just like how you might need to follow them if you were writing an app without Expo, you need to follow them when you are using Expo and EAS Update.

EAS 更新是向应用的用户快速提供改进的好方法。例如,考虑一个具有需要修复的严重错误的应用。通过 EAS 更新,你可以快速修复并随后提交包含内置修复的新提交。

¥EAS Update is a great way to quickly deliver improvements to the people who use your apps. For example, consider an app that has a critical bug that needs to be fixed. With EAS Update you can quickly get the fix out and later follow up with a new submission that includes the fix built in.

"每月更新的用户" 如何计入一个计费周期

¥How are "monthly updated users" counted for a billing cycle

1 个每月更新的用户等于 1 个唯一安装的应用,且该应用在你的计费周期内至少下载了 1 个更新。
  • 在计费周期的每一天下载新更新的应用安装计为 1 个每月更新的用户。

    ¥An app install that downloads a new update on each day of your billing cycle counts as 1 monthly updated user.

  • 在计费周期内未下载任何新更新的应用安装将计为 0 个每月更新的用户。

    ¥An app install that does not download any new updates during your billing cycle counts as 0 monthly updated users.

  • 卸载并重新安装应用(以及在计费周期内下载每个应用的更新)计为 2 个每月更新的用户。

    ¥Uninstalling and reinstalling an app (and downloading updates in each during your billing cycle) counts as 2 monthly updated users.

  • 如果一台设备拥有同一个 Expo 账户拥有的两个应用,并且这两个应用都使用更新,则该设备将被视为该账户的 2 个每月更新用户。

    ¥A single device that has two apps owned by a single Expo account, both of which use updates, is considered 2 monthly updated users for the account.

如何为我的应用实现自定义更新策略

¥How can I implement a custom update strategy for my app

默认情况下,expo-updates 在每次加载应用时检查更新。你可以使用 更新 API应用配置 实现自定义更新策略。

¥By default, expo-updates checks for updates every time the app is loaded. You can implement a custom update strategy with the Updates API and app config.

是否仍支持经典更新

¥Are Classic Updates still supported

经典更新服务现已弃用。2021 年 12 月之前可用,expo publish 无法再运行。但是,现有应用将继续接收已发布并正在积极使用的经典更新。

¥The Classic Updates service is now deprecated. It was available before December 2021, and expo publish cannot be run anymore. However, existing apps will continue to receive Classic Updates that have already been published and are actively used.

我们建议过渡到 EAS 更新或使用 自托管更新服务

¥We recommend transitioning to EAS Update or using a self-hosted update service.

Expo 中文网 - 粤ICP备13048890号