我已使用CLI将IOS应用程序推送并发布到Expo,并获得了托管链接。当我尝试打开该应用程序时,一切正常。
当其他人尝试从博览会站点打开应用程序时,会出现此错误:
您要求的体验不可行。您需要登录或要求所有者授予您访问权限。
问题是用户已经使用IOS上的Expo app登录了。
我的项目是公开的,这是我的app.json:
{
"expo": {
"name": "PassApp",
"description": "Simple QR code scanning app",
"slug": "ExpoClinicQr",
"privacy": "public",
"sdkVersion": "31.0.0",
"platforms": [
"ios",
"android"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
}
},
"infoPlist": {
"NSCameraUsageDescription": "This app uses the camera to scan barcodes for clinic."
}
}
答案 0 :(得分:0)
已解决。
基本上,您需要向其他人提供您的Expo用户名/密码,因为其他人无法使用其凭据打开Expo项目。
另一种解决方案是使用Testflight并在其中添加用户。