-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle html assets cannot be loaded from app updates published on expo.dev #1940
Comments
It looks like the asset could be downloaded but the SHA256 values of are different.
|
Hi @oliverwelter, I'm having the same issue with the sha being different, but it seems that it also applies for non-html files. Were you able to find a fix for this? |
Build/Submit details page URL
https://expo.dev/accounts/nia-medtech/projects/nia-app
Summary
When using html files as bundled assets these assets cannot be loaded from builds hosted on expo.dev.
Running the build locally on a laptop and loading it into a devclient within the same local network via QR code works.
But loading the QR code from a build provided on expo.dev leads to the attached error screen:
The problem seems to be limited to files with suffix "html", ppg, png and pdf assets work without any issue.
Also changing the suffix from "html" to "htm" works.
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: Linux 6.1 Gentoo Linux
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.20.1 - /usr/bin/node
Yarn: 3.6.0 - ~/nia-health/nia/nia-app/node_modules/.bin/yarn
npm: 8.19.4 - /usr/bin/npm
npmPackages:
babel-preset-expo: ^9.3.0 => 9.3.1
expo: ^48.0.18 => 48.0.18
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
react-native-web: ~0.18.9 => 0.18.12
Expo Workflow: managed
✔ Validating global prerequisites versions
✔ Checking for incompatible packages
✔ Verifying prebuild support package versions are compatible
✔ Checking dependency versions for compatibility with the installed Expo SDK
✔ Validating Expo Config
Didn't find any issues with the project!
Error output
No response
Reproducible demo or steps to reproduce from a blank project
"assetBundlePatterns": ["**/assets/**/*"],
const assets = useAssets( [require("./assets/example.html")]);
eas-cli update
The text was updated successfully, but these errors were encountered: