EAS update not updating, no errors ...

Managed workflow
eas-cli version : 3.16.0

I can’t find why my update is not working. I have no errors, have the same sdk runtime version, and same channel between the build and the update.

Using APP_ENV=production eas update --branch production to update my production build, no update happen. There’s no new native code. Even tried to update a single “.” not working.

Last update :

Last production build :

Everything seems good, please help

package.json :

 "name": "APP_NAME",
  "version": "2.3.7",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start --clear",
    "dev": "APP_ENV=development npx expo start --dev-client",
    "build:dev": "APP_ENV=development eas build --profile development --clear-cache",
    "build:dev-s": "APP_ENV=development eas build --profile dev-simulator --clear-cache",
    "build:staging-s": "APP_ENV=staging eas build --profile staging-simulator",
    "build:staging": "APP_ENV=staging eas build --profile staging",
    "update:staging": "APP_ENV=staging eas update --branch staging",
    "build:prod": "APP_ENV=production eas build --profile production",
    "build:prod-s": "APP_ENV=production eas build --profile simulator-prod",
    "build:preprod": "APP_ENV=production eas build --profile preprod",
    "update:preprod": "APP_ENV=production eas update --branch preprod",
    "update:prod": "APP_ENV=production eas update --branch production",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "postinstall": "patch-package"
  },
  "dependencies": {
    "@expo/react-native-action-sheet": "^3.14.0",
    "@react-native-async-storage/async-storage": "1.17.11",
    "@react-native-community/datetimepicker": "6.7.3",
    "@react-native-community/geolocation": "^3.0.6",
    "@react-native-community/masked-view": "^0.1.11",
    "@react-native-firebase/analytics": "^15.7.0",
    "@react-native-firebase/app": "15.7.0",
    "@react-navigation/bottom-tabs": "^6.4.0",
    "@react-navigation/material-bottom-tabs": "^6.2.4",
    "@react-navigation/material-top-tabs": "^6.3.0",
    "@react-navigation/native": "^6.0.13",
    "@react-navigation/native-stack": "^6.9.1",
    "@react-navigation/stack": "^6.3.2",
    "@reduxjs/toolkit": "^1.8.6",
    "@sentry/react-native": "4.13.0",
    "@shopify/react-native-skia": "^0.1.209",
    "axios": "^1.1.3",
    "country-codes-list": "^1.6.10",
    "deprecated-react-native-prop-types": "^4.0.0",
    "expo": "^48.0.0",
    "expo-application": "~5.1.1",
    "expo-build-properties": "~0.6.0",
    "expo-calendar": "~11.1.1",
    "expo-clipboard": "~4.1.2",
    "expo-constants": "~14.2.1",
    "expo-dev-client": "~2.2.1",
    "expo-device": "~5.2.1",
    "expo-haptics": "~12.2.1",
    "expo-image": "~1.0.1",
    "expo-image-picker": "~14.1.1",
    "expo-intent-launcher": "~10.5.2",
    "expo-linear-gradient": "~12.1.2",
    "expo-linking": "~4.0.1",
    "expo-localization": "~14.1.1",
    "expo-location": "~15.1.1",
    "expo-notifications": "~0.18.1",
    "expo-splash-screen": "~0.18.2",
    "expo-status-bar": "~1.4.2",
    "expo-updates": "~0.16.4",
    "formik": "^2.2.9",
    "i18next": "^22.5.0",
    "imagekit-javascript": "1.3.7",
    "lottie-react-native": "5.1.4",
    "moment": "^2.29.4",
    "moti": "^0.25.3",
    "patch-package": "^6.5.1",
    "react": "18.2.0",
    "react-i18next": "^11.18.6",
    "react-native": "0.71.8",
    "react-native-actions-sheet": "^0.8.8",
    "react-native-bouncy-checkbox": "^3.0.6",
    "react-native-calendars": "1.1248.0",
    "react-native-collapsible-tab-view": "^5.0.0-rc.13",
    "react-native-geocoding": "^0.5.0",
    "react-native-gesture-handler": "~2.9.0",
    "react-native-google-places-autocomplete": "^2.4.1",
    "react-native-hyperlink": "^0.0.22",
    "react-native-map-clustering": "^3.4.2",
    "react-native-map-link": "^2.10.2",
    "react-native-maps": "1.3.2",
    "react-native-modal": "^13.0.1",
    "react-native-pager-view": "6.1.2",
    "react-native-paper": "4.9.2",
    "react-native-reanimated": "^3.0.0-rc.10",
    "react-native-safe-area-context": "4.5.0",
    "react-native-screens": "~3.20.0",
    "react-native-section-list-get-item-layout": "^2.2.3",
    "react-native-share": "^8.1.0",
    "react-native-shared-element": "0.8.8",
    "react-native-svg": "13.4.0",
    "react-native-svg-transformer": "^1.0.0",
    "react-native-tab-view": "^3.3.0",
    "react-native-toast-message": "^2.1.5",
    "react-native-uuid": "^2.0.1",
    "react-native-vector-icons": "^9.2.0",
    "react-navigation-shared-element": "^3.1.3",
    "react-redux": "^8.0.4",
    "sentry-expo": "~6.1.0",
    "yup": "^0.32.11"
  },
  "devDependencies": {
    "@babel/core": "^7.19.3",
    "babel-plugin-transform-inline-environment-variables": "^0.4.4"
  },
  "private": true
}

app.config :

export default () => ({
    name: config.appName,
    version: "2.3.7",
    orientation: "portrait",
    icon: config.icon,
    scheme: config.appName,
    splash: {
        image: config.splash,
        resizeMode: "cover",
    },
    updates: {
        fallbackToCacheTimeout: 0,
    },
    assetBundlePatterns: ["**/*"],
    ios: {
        supportsTablet: false,
        bundleIdentifier: config.bundleIdentifier,
        googleServicesFile: config.IOSGoogleServicesFile,
        buildNumber: "2.3.12",
        config: {
            googleMapsApiKey: config.IOSMapAPIKey,
        },
        infoPlist: {
            LSApplicationQueriesSchemes: ["comgooglemaps", "citymapper", "uber", "lyft", "waze", "instagram", "instagram-stories", "fb", "facebook-stories", "fb-messenger"],
            NSRemindersUsageDescription:
                "Requires your permission to add events to your calendar",
            NSLocationWhenInUseUsageDescription:
                "Requires your permission to suggest activities around you",
        },
    },
    android: {
        package: config.bundleIdentifier,
        versionCode: 75,
        googleServicesFile: config.androidGoogleServicesFile,
        permissions: ["READ_CALENDAR", "WRITE_CALENDAR", "ACCESS_FINE_LOCATION", "CAMERA", "READ_EXTERNAL_STORAGE"],
        config: {
            googleMaps: {
                apiKey: config.androidMapAPIKey,
            },
        },
        "softwareKeyboardLayoutMode": "pan"
    },
    "plugins": [
        ["sentry-expo"],
        "@react-native-firebase/app",
        "expo-localization",
        [
            "expo-build-properties",
            {
                "android": {
                    "compileSdkVersion": 33,
                    "targetSdkVersion": 33,
                    "buildToolsVersion": "33.0.0"
                },
                "ios": {
                    "deploymentTarget": "13.0",
                    "useFrameworks": "static"
                }
            }
        ],
        "@react-native-firebase/app",
        "./withReactNativeMaps",
    ],
    runtimeVersion: {
        policy: "sdkVersion",
    },
    updates: {
        url: "https://u.expo.dev/45e3e33d-b12d-4a03-af77-af971415863c",
    },
    "hooks": {
        "postPublish": [
            {
                "file": "sentry-expo/upload-sourcemaps",
                "config": {
                    "organization": config.sentryOrganisation,
                    "project": config.sentryProject
                }
            }
        ]
    },
    extra: {
        eas: {
            projectId: "XXX",
        },
        facebookAppId: process.env.FACEBOOK_APP_ID,
        ...config.config,
    },
});

Hi @marc-hbb,

Not sure this is the culprit but I noticed that there are two “updates” keys in your app config, so one might be overwriting the other and causing updates not to be enabled.

I did a copy paste from github issue but I’ve already fixed the duplicate key. It still doesn’t works :confused:

You are missing the expo-updates plugin:

[
“expo-updates”,
{
“username”: “account-name”
}
]

I have fixed the issue without adding the plugin :thinking:
I had expo 48.0.19 installed. and my targetSdk was 48.0.0. I did a new build with the correct version and was able to publish updates

2 Likes