EAS update not working

See original GitHub issue

Build/Submit details page URL

https://expo.dev/accounts/overvinne_it/projects/overvinne/builds/91827bd0-9462-4f98-8c7d-ea831ecab56b

Summary

EAS Update fails to produce any updates on my phone. I’m testing the workflow as follows:

I have an internal distribution build on the channel “preview” which has a branch named “preview” associated to it.

  1. I run eas build -p android --profile preview and install the apk
  2. I do a small text change on one of my screens
  3. I run eas update --branch preview
  4. The update command runs successfully and the update is shown if I run eas update:list.

However, the update never appears on my phone. If I force quit the app and reload it, it just loads forever. If I close it again it opens with the previously built version.

Managed or bare?

Bare

Environment

System: OS: Linux 5.4 Ubuntu 18.04.5 LTS (Bionic Beaver) Shell: 4.4.20 - /bin/bash Binaries: Node: 12.22.5 - /usr/bin/node Yarn: 1.22.17 - /usr/bin/yarn npm: 8.5.1 - ~/ov/overvinne-app/node_modules/.bin/npm npmPackages: @expo/metro-config: ^0.3.6 => 0.3.11 @expo/webpack-config: ~0.16.2 => 0.16.20 expo: ^44.0.0 => 44.0.6 react: 17.0.1 => 17.0.1 react-dom: 17.0.1 => 17.0.1 react-native: 0.64.3 => 0.64.3 react-native-web: 0.17.1 => 0.17.1 npmGlobalPackages: eas-cli: 0.50.0 expo-cli: 5.3.1 Expo Workflow: bare

My app.config has these relevant parameters:

 sdkVersion: "44.0.6",
  runtimeVersion: "1.0.4",
  updates: {
    fallbackToCacheTimeout: 1000,
    url: "https://u.expo.dev/{projectId}"

  },

My androidmanifest.xml has these relevant parameters:

<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 eas.json has these relevant parameters:

  "build": {
    "preview": {
      "distribution": "internal",
      "channel": "preview",
      "android":{
        "credentialsSource": "local"
      },

My projectId is correct, as I’ve checked it against eas:project:info. Also I have queried the manifest file at the expo update url with the relevant runtime information and platform, and the manifest.json looks to be correct.

My phone is a galaxy S10+ with android version 12.

I have tried removing the sdkVersion-parameter from the app.config-file, but the build info then says that I’m running SDK 44.0.0 which is incompatible with eas updates. I have run eas update:configure and eas build:configure and tried building again. I also tried doing the same thing with a google play build in the production channel but I got the exact same result.

Error output

N/A

Reproducible demo or steps to reproduce from a blank project

See environment and summary

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ScholtenSebcommented, Sep 12, 2022

@baochungit Still occur on my end, cannot receive the changes update from eas update. Btw, I am using expo SDK 46 too. Any solution ?

@vineetsharma7667 Cannot receive the changes update from eas update. I am using expo SDK 45. Any solution?

@baochungit did you find a solution? I have the same issue…

Not sure if you have the same issue. Might be worth looking at the app startup logs. See the issue I reported below

https://github.com/expo/expo/issues/19046#issue-1367473251

1reaction
allandallopezcommented, Sep 1, 2022

@baochungit Still occur on my end, cannot receive the changes update from eas update. Btw, I am using expo SDK 46 too. Any solution ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Eas Update does not publish any new Expo Updates
I'm using EAS for configuring updates. The update isn't working. I tried the eas update command and got the result as well:
Read more >
Known issues - Expo Documentation
With EAS Update, there are some known issues you may encounter. As we continue to iterate on it, we will address these issues....
Read more >
Expo on Twitter: "Every React Native app can now use our ...
Every React Native app can now use our next-generation updates service: EAS Update. ⚡️ Make your whole team faster.
Read more >
Expo - large app without paying for EAS updates? - Reddit
The EAS Update service is free for the first 1,000 updaters, and then is pay as you go if you become a customer...
Read more >
eas-cli - npm
Start using eas-cli in your project by running `npm i eas-cli`. ... eas update:delete GROUPID; eas update:list; eas update:republish ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found