当您使用 Expo 发布 React Native 应用程序时,无线更新会在应用程序和 Play 商店中发布到以前的版本吗? [英] When you publish a React Native app with Expo will over-the-air updates go out to previous versions on the App and Play Store?

查看:45
本文介绍了当您使用 Expo 发布 React Native 应用程序时,无线更新会在应用程序和 Play 商店中发布到以前的版本吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Expo.io 发布我的无线更新.我已向 App 和 Play 商店提交了几个新的官方更新(即新的 SDK/IPA 文件).我仍在使用与以前相同版本的 Expo.我的无线更新会更新到以前的版本吗(人们还没有获得官方应用程序/Play 商店更新)?还是老版本卡住了,直到用户手动更新到最新版本,以便再次获得OTA更新?

I'm using Expo.io for publishing my over-the-air updates. I have submitted several new official updates (so new SDK/IPA files) to the App and Play store. I'm still using the same version of Expo as before. Will my over the air updates go out to the previous versions(people haven't gotten the offical app/play store update)? Or are the old versions stuck until the user manually updates to the latest version so that they can get OTA updates again?

推荐答案

如果您将新版本上传到应用商店和 Play 商店,用户将需要下载该版本才能获得该版本的 OTA 更新.如果你只是构建并推送到 expo 服务器,用户将无需下载即可获得 OTA 更新.

If you upload a new build to the app store and play store, the user will need to download the build in order to get OTA updates for that build. If you just build and push to the expo server, the user will be able to get OTA updates without any download.

独立应用知道在您应用的发布网址中查找更新.

来自文档:发布指南

当您构建二进制文件时,您的应用 JavaScript 的当前版本捆绑在一起,以便在应用程序第一次打开时立即加载.但是你不会被那个版本的代码困住,你可以发布之后随时更新而无需重新构建二进制文件.例如,如果您发现一个错误或想要添加一些功能到提交二进制文件后的应用程序.

When you build the binary, the current version of your app JavaScript is bundled so that it loads immediately the first time the app opens. But you’re not stuck with that version of your code, you can publish updates at any time after that without needing to re-build the binary. For example, if you find a bug or want to add some functionality to the app after submitting the binary.

独立应用程序知道在您的应用程序发布时查找更新url,如果您发布更新,那么下次用户打开您的应用程序,他们将自动下载新版本.这些都是通常称为空中下载"(OTA) 更新,功能类似于 CodePush,但它内置于 Expo 中,因此您不需要安装任何东西.

The standalone app knows to look for updates at your app’s published url, and if you publish an update then the next time a user opens your app they will automatically download the new version. These are commonly referred to as "Over the Air" (OTA) updates, the functionality is similar to CodePush, but it is built into Expo so you don’t need to install anything.

这篇关于当您使用 Expo 发布 React Native 应用程序时,无线更新会在应用程序和 Play 商店中发布到以前的版本吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆