如何通过移动应用程序使用旧版本的 Expo? [英] How to use older version of Expo with the mobile app?

查看:14
本文介绍了如何通过移动应用程序使用旧版本的 Expo?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用 expo 版本 30.0.1 的项目我不希望它改变应用程序是使用 CRNA 创建的尝试运行 npm start 并且我选择 ios 或 android 模拟器上的 expo 移动应用程序总是给我一个错误说 您要求的体验使用 Expo SDK v(null) 但是这个 Expo 副本客户端要求至少 v34.0.0.作者应该将他们的体验升级到较新的 Expo SDK 版本现在我想像使用旧的 expo 版本一样运行该应用程序,我该如何实现?

i have a project using expo version 30.0.1 i don't want that to change the app was created using CRNA when i try to run npm start and i choose ios or android the expo mobile app on the simulator always gives me an error saying the experience you requested uses Expo SDK v(null) but this copy of Expo Client requires that at least v34.0.0. the author should upgrade their experience to a newer Expo SDK version now i want to run the app as it is with the older expo version, how can i achieve that?

我尝试从模拟器中卸载 Expo Client 应用程序,但是当它重新安装时,它会在模拟器上安装较新的 Expo 客户端应用程序.有没有办法告诉 Expo 根据当前项目 Expo 版本在模拟器上安装 Expo 客户端?

i tried uninstalling the Expo Client app from the simulator but when it reinstalls it installs the newer Expo client app on the simulator. is there a way to tell Expo to install the Expo client on the simulator based on the current projects Expo version?

推荐答案

iOS:根据 Expo 支持;无法在设备上降级 expo 客户端应用程序(苹果不允许您在应用程序商店中同时分发多个版本的应用程序),但您可以通过运行 expo 客户端将其安装在模拟器上:install:ios 在你的项目目录中.

iOS: according to the Expo support; it’s not possible to downgrade the expo client app on a device (apple does not let you distribute multiple versions of an app at the same time on the app store), but you can install it on your simulator by running expo client:install:ios in your project directory.

Android:您可以从这里 并安装 APK.如果有更多信息这里需要.

Android: you may download the required version from here and install the APK. There is more info here if needed.

这篇关于如何通过移动应用程序使用旧版本的 Expo?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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