Demo, all content is generated
Question

EAS Update published but the app never picks up the new version

Open · 112 views · asked by harriet_g · edited

Ran eas update --branch production --message "fix typo". Says published. Closed and reopened the app on my phone 10 times, still the old text. The build is from TestFlight.

What I’ve tried

Checked the channel in eas.json is production for the build profile. Force closed the app, reinstalled from TestFlight (that brings the update, but that defeats the purpose).

Comment
Which runtimeVersion policy do you have in app.json? ben_mobile · edited

3 answers

ben_mobile · edited

Most likely a runtime version mismatch. An update only goes to builds with the same runtimeVersion. If your build has "runtimeVersion": { "policy": "appVersion" } and you bumped version in app.json after building, the update targets a runtime no build has.

Check on expo.dev → Updates: the update shows its runtime version; compare with the build's. Also note the default behaviour: the app downloads the update on launch and applies it on the next launch, so it takes two cold starts.

Comment
runtime versions are the same :( 1.0.2 on both harriet_g · edited
lukas_b · edited

If runtime matches, check the build is actually on the production channel: eas build:list shows the channel per build. Builds made before you added channel to eas.json have no channel and never receive updates.

Comment
eas build:list says channel: null for my TestFlight build. that's it isn't it. rebuilding harriet_g · edited
arjun_codes · edited

Add a hidden debug screen that calls Updates.checkForUpdateAsync() and shows the result and Updates.channel / Updates.runtimeVersion. Errors from the update check are otherwise swallowed and you're guessing.

Comment