Help to investigate why eas update not working

See original GitHub issue

Build/Submit details page URL

No response

Summary

As far as I know this might be considered as a duplicate but none of the issues help how to debug the problem I’m describing. I run eas update, the command runs successfully but the app is not updating. I would be happy to investigate that but I can’t even see logs in production. The app is published on TestFlight so far. Is there a way to see the logs? I’ve spend multiple days already and I hope you can help me to find a solution. Thank you!

Managed or bare?

bare

Environment

expo-env-info 1.0.5 environment info: System: OS: macOS 13.0 Shell: 5.8.1 - /bin/zsh Binaries: Node: 19.0.1 - ~/.nvm/versions/node/v19.0.1/bin/node Yarn: 1.22.15 - /opt/homebrew/bin/yarn npm: 8.19.2 - ~/.nvm/versions/node/v19.0.1/bin/npm Watchman: 2022.10.24.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1 IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8193401 Xcode: 14.1/14B47b - /usr/bin/xcodebuild npmPackages: expo: ~47.0.8 => 47.0.8 react: 18.1.0 => 18.1.0 react-dom: 18.1.0 => 18.1.0 react-native: 0.70.5 => 0.70.5 npmGlobalPackages: eas-cli: 2.7.1 expo-cli: 6.0.8 Expo Workflow: bare


Doctor: 🎉 Didn’t find any issues with the project!

Error output

No response

Reproducible demo or steps to reproduce from a blank project

I don’t know how to reproduce it.

Update: There is what my billing page shows image

It looks like there was no even attempt to download the resources.

I also used Sentry to catch the problem. I’ve made sure that it works by throwing a random error but there is nothing about expo-asset or something like that.

eas.json

{
  "cli": {
    "version": ">= 2.7.1"
  },
  "build": {
    "development": {
      "distribution": "internal",
      "android": {
        "gradleCommand": ":app:assembleDebug"
      },
      "ios": {
        "buildConfiguration": "Debug",
        "image": "latest"
      }
    },
    "preview": {
      "distribution": "internal"
    },
    "production": {}
  },
  "submit": {
    "production": {}
  }
}

app.json

{
  "expo": {
    "name": "foo",
    "slug": "foo",
    "version": "1.0.8",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0,
      "url": "https://u.expo.dev/MY_PROJECT_ID"
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "com.foo",
      "googleServicesFile": "./credentials/GoogleService-Info.plist",
      "buildNumber": "8"
    },
    "android": {
      "googleServicesFile": "./credentials/google-services.json",
      "adaptiveIcon": {
        "foregroundImage": "./assets/adaptive-icon.png",
        "backgroundColor": "#FFFFFF"
      },
      "package": "com.foo"
    },
    "web": {
      "favicon": "./assets/favicon.png"
    },
    "plugins": [
      [
        "expo-build-properties",
        {
          "ios": {
            "useFrameworks": "static"
          }
        }
      ]
    ],
    "extra": {
      "eas": {
        "projectId": "MY_PROJECT_ID"
      }
    },
    "owner": "finom",
    "runtimeVersion": "1.0.0"
  }
}

package.json

{
  "name": "foo",
  "version": "0.0.0-no-version",
  "scripts": {
    "start": "cross-env NODE_OPTIONS=--openssl-legacy-provider expo start --tunnel --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "lint": "eslint --ext .ts,.js,.tsx --fix ./",
    "check-types": "tsc --noemit",
    "reinstall": "rm -rf node_modules yarn.lock && yarn",
    "test": "npm run lint && npm run check-types",
    "pod-install": "cd ios && arch -x86_64 pod install && cd ..",
    "pod-update": "cd ios && arch -x86_64 pod update && arch -x86_64 pod install && cd ..",
    "upgrade": "npx npm-check-updates -u && yarn",
    "submit": "expo prebuild && eas build --clear-cache --auto-submit",
    "update": "eas update --auto"
  },
  "dependencies": {
    "@invertase/react-native-apple-authentication": "^2.2.2",
    "@react-native-firebase/analytics": "^16.4.6",
    "@react-native-firebase/app": "^16.4.6",
    "@react-native-firebase/auth": "^16.4.6",
    "@react-native-firebase/firestore": "^16.4.6",
    "@react-native-firebase/storage": "^16.4.6",
    "@react-native-google-signin/google-signin": "^8.2.1",
    "@react-navigation/native": "^6.0.16",
    "@react-navigation/stack": "^6.3.7",
    "@sentry/react-native": "4.10.1",
    "base-64": "^1.0.0",
    "expo": "~47.0.8",
    "expo-asset": "~8.6.2",
    "expo-av": "~13.0.2",
    "expo-build-properties": "~0.4.1",
    "expo-constants": "~14.0.2",
    "expo-file-system": "~15.1.1",
    "expo-in-app-purchases": "~14.0.0",
    "expo-localization": "~14.0.0",
    "expo-splash-screen": "~0.17.5",
    "expo-status-bar": "~1.4.2",
    "expo-updates": "~0.15.6",
    "i18n-js": "^4.2.0",
    "lodash": "^4.17.21",
    "parse-color": "^1.0.0",
    "react": "18.1.0",
    "react-dom": "18.2.0",
    "react-native": "0.70.5",
    "react-native-card-stack-swiper": "^1.2.5",
    "react-native-emoji-selector": "^0.2.0",
    "react-native-gesture-handler": "~2.8.0",
    "react-native-google-mobile-ads": "^8.2.2",
    "react-native-iap": "^12.4.8",
    "react-native-modal": "^13.0.1",
    "react-native-popable": "^0.4.3",
    "react-native-reanimated": "~2.13.0",
    "react-native-safe-area-context": "4.4.1",
    "react-native-screens": "~3.18.2",
    "react-native-share": "^8.0.0",
    "react-native-typography": "^1.4.1",
    "react-native-ui-lib": "^6.25.0",
    "react-native-vector-icons": "^9.2.0",
    "react-use-promise": "^0.5.0",
    "use-change": "^1.0.9",
    "weighted": "^1.0.0"
  },
  "devDependencies": {
    "@babel/core": "^7.20.5",
    "@react-native/polyfills": "^2.0.0",
    "@types/base-64": "^1.0.0",
    "@types/fs-extra": "^9.0.13",
    "@types/gapi": "^0.0.43",
    "@types/gapi.auth2": "^0.0.56",
    "@types/gapi.client.sheets": "^4.0.20201030",
    "@types/i18n-js": "^3.8.3",
    "@types/lodash": "^4.14.191",
    "@types/parse-color": "^1.0.1",
    "@types/react": "~18.0.25",
    "@types/react-native": "~0.70.7",
    "@types/react-native-vector-icons": "^6.4.12",
    "@typescript-eslint/eslint-plugin": "^5.45.0",
    "@typescript-eslint/parser": "^5.45.0",
    "cross-env": "^7.0.3",
    "eslint": "^8.28.0",
    "eslint-config-airbnb": "19.0.4",
    "eslint-config-airbnb-typescript": "^17.0.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jsx-a11y": "^6.6.1",
    "eslint-plugin-react": "^7.31.11",
    "eslint-plugin-react-hooks": "^4.6.0",
    "typescript": "^4.9.3"
  },
  "private": true
}

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
evenSosaAkidocommented, Dec 2, 2022

@finom I got this solved. As @wkozyra95 said. The channel needs to be specified in the eas.json.

I already had that but what fixed for me was removing this line from android/app/src/main/AndroidManifest.xml

<meta-data android:name="expo.modules.updates.EXPO_UPDATES_RELEASE_CHANNEL" android:value="qa"/>

And also removing this line from ios/<appname>/Supporting/Expo.plist

    <key>EXUpdatesReleaseChannel</key>
    <string>qa</string>
1reaction
wkozyra95commented, Dec 2, 2022

@finom You need to specify channel in eas.json build profile, otherwise, it assumes that you are on classic updates.

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 >
Recent Expo EAS Update Outages and Issues - StatusGator
Expo EAS Update not working? Check what's wrong with Expo EAS Update right now. Receive alerts for Expo EAS Update status updates via...
Read more >
Issue Using EAS Updates : r/expo - Reddit
I have updated the app to use eas builds and updates using eas ... I have gone through the documents but am still...
Read more >
Expo Status (@expo_status) / Twitter
Monitoring: A fix has been implemented and we are monitoring the results. If you are seeing a message like "Failed to load all...
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