'Failed to download manifest from URL' error after eas build
See original GitHub issueSummary
I have this code in my app to check if any OTA update available:
await Updates.checkForUpdateAsync()
When I build the app using eas build
and run the app, it will notify an error in my Bugsnag saying:
Failed to download manifest from URL: https://exp.host/@xxxx/xxxx
This issue does not occur when I build using expo build
Managed or bare workflow? If you have ios/
or android/
directories in your project, the answer is bare!
managed
What platform(s) does this occur on?
Android, iOS
SDK Version (managed workflow only)
44
Environment
expo-env-info 1.0.2 environment info: System: OS: Windows 10 10.0.19042 Binaries: Node: 16.13.1 - C:\Program Files\nodejs\node.EXE npm: 7.22.0 - C:\Program Files\nodejs\npm.CMD IDEs: Android Studio: Version 2021.1.0.0 AI-211.7628.21.2111.8139111 npmPackages: expo: ^44.0.0 => 44.0.3 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 Expo Workflow: managed
Reproducible demo
- This code is in App.js
const checkAppUpdates = async () => {
if (!__DEV__) {
try {
const update = await Updates.checkForUpdateAsync()
if (update.isAvailable) {
setIsUpdateAvailable(true)
}
} catch (e) {
Bugsnag.notify(e)
}
}
}
useEffect(() => {
checkAppUpdates()
}, [])
- Run
eas build -p android
- Install and run the app as a standalone build.
Issue Analytics
- State:
- Created 2 years ago
- Comments:24 (3 by maintainers)
I ran into the same error using Sentry. And also, after releasing a new Build it still errors out (even though I also ran “expo publish again”)
new error after careful app revision:
Same thing here. SDK 46, migrated from the traditional update which worked great but now I’m stuck with that message.