I’m not getting eas update to work as intended. No matter what I do, the updates simply do not register on my phone.
My procedure for testing is this:
1: I build a preview profile of my app on the preview channel (with a branch with the same name) local distribution version of my app (Android)
2: I download this bundle on my phone and install it
- I do a small update in a screen and then use eas update --branch preview.
The update bundles and registers correctly and is shown when I type eas:update list preview, but the app just doesn’t update on my phone. If I query my update url with the correct parameters I am shown a manifest file as expected as well. I just don’t get what I’m doing wrong as everything seems to run correctly.
The only behaviour that hints of a potential problem is that when I kill the app and open it after an update, it just loads infinitely. If I close it and open it again, it just loads what I assume is the previous cache of the app. It’s almost like the app isn’t able to query the manifest file and download it, which should be impossible as the manifest file exists with the runtime version and package as specified.
My setup is as follows:
eas-cli: 0.50.0
expo-cli: 5.3.1
expo-updates: 0.11.6
expo-sdk: 44.0.6
my build config looks like this:
eas.json
"preview": {
"distribution": "internal",
"channel": "preview",
"android":{
"credentialsSource": "local"
},
"env": {
"APP_VARIANT": "preview"
}
},
my android manifest looks like this:
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="1000"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATE_URL" android:value="https://u.expo.dev/{projectId}"/>
<meta-data android:name="expo.modules.updates.EXPO_RUNTIME_VERSION" android:value="1.0.4"/>
my app.config looks like this:
sdkVersion: "44.0.6",
runtimeVersion: "1.0.4",
updates: {
fallbackToCacheTimeout: 1000,
url: "https://u.expo.dev/{projectId}"
},
my projectId is correct as I’ve checked it against expo.
I’ve tried endless variations of build channels and different SDKs. I’ve also tried using a production build instead of a preview build. Has anyone experienced something similar? Any help would be very appreciated as this problem is driving me nuts.