Thanks.
I have the Production Plan and am specifically aiming to upgrade from my previous setup with OTA updates to the new EAS stuff.
Can you help me understand why the updates system is not working for me?
My package.json contains these package versions, amongst other things.
"expo": "^44.0.6",
"expo-updates": "~0.11.6",
And my CLIs are
eas-cli: 0.47.0
expo-cli: 5.2.0
In my app.config.js
I added the details from eas update:configure
updates: {
url: "https://u.expo.dev/....",
fallbackToCacheTimeout: 0,
},
runtimeVersion: {
policy: "sdkVersion",
},
I then built using this configuration in eas.json
"production_apk": {
"channel": "production",
"android": {
"buildType": "apk"
},
"distribution": "internal"
},
and the command
eas build --platform=android --profile=production_apk
Then I installed the APK on my Android device
Following this, I changed from text in my codebase and ran
eas update --branch production --message "Testing 123"
This returned update group ID: update group ID : ec80bc2e-1f31-434c-93c1-defaff3b1b32
Running eas channel:view production
seems to confirm that the production
branch and channel
are connected
Channel:
Name production
ID ed8f7193-9469-4888-a234-50327c56e252
Branches pointed at this channel and their most recent update group:
ββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββ
β branch β Update message β Update runtime version β Update group ID β Update platforms β
ββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββ€
β production β "Testing 123" (25 minutes ago by __) β exposdk:44.0.0 β ec80bc2e-1f31-434c-93c1-defaff3b1b32 β android, ios β
ββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββ
I then downloaded the app to my phone and closed the app multiple times over the course of 10 minutes (while connecting to WIFI). The first two times nothing happened. The third time, opening the app just showed a blank white screen that never goes away. Then the fourth time is exactly the same as the first time: ie. it shows the original text from the version of the app created with eas build
and does not contain the updates.
Can someone on the team help me figure out what is going wrong here?
I noticed a possibly related bug in my account:
Even though my Expo version is 44.0.6, the build tool interface says the runtime is βexposdk:44.0.0β (which is wrong) and also that the SDK version is β44.0.0β, which is also wrong.