I'm using the new expo-dev-client and EAS workflow to attempt development with expo, while also including native dependencies (react-native-firebase in my case).
I've managed to build and install a preview of my app with EAS:
eas build --platform ios --profile staging
Run Code Online (Sandbox Code Playgroud)
Where my "staging" profile is setup in eas.json like so:
{
"cli": {
"version": ">= 0.35.0"
},
"build": {
"production": {
"releaseChannel": "prod-v0",
"node": "14.17.4",
"ios": {
"cocoapods": "1.11.2",
"autoIncrement": "buildNumber"
}
},
"staging": {
"extends": "production",
"releaseChannel": "staging",
"distribution": "internal"
},
...
},
...
}
Run Code Online (Sandbox Code Playgroud)
Note the releaseChannel is set to "staging" too.
So far so good. The app is building and I can install it on my device and confirm the releaseChannel using the expo-updates module with Updates.releaseChannel
Now I'd like to publish a pure javascript change, so I run...
expo publish --release-channel staging
Run Code Online (Sandbox Code Playgroud)
但这会给出以下警告(我认为这就是我在设备上看不到更新的原因):
ios: Expo.plist key: "EXUpdatesReleaseChannel": The value passed to the
--release-channel flag is to "staging", but it is set to "default".
Run Code Online (Sandbox Code Playgroud)
那么“Expo.plist”是什么/在哪里,为什么它不同步,我该如何更新它?
更新:
所以我从以前的版本中删除了 iOS 文件夹expo run:ios。现在运行时警告消失了expo publish --release-channel staging。但我的应用程序似乎仍然没有发生任何事情 - 它仍然没有更新。
| 归档时间: |
|
| 查看次数: |
1696 次 |
| 最近记录: |