i have a problem in production environment, as in develop environment don’t happen. This problem is happen since i updated to Expo SDK Version 34.0.0
I have an array contain 12 items, item is image, which images weight is average 100kb and size is 720x2560. This array is render with a FlatList vertical.
Each images is local storage and i use asset tools to download async each image.
In develop environment with expo star and simulator and different device both iOS as Android the app run correctly even when in the DevTools production mode is active.
But when i build a .apk as “expo build:android --no-publish” or “expo build:android” or upload with “expo publish” the images in the production app never can see, only can see a white image.
(This process too happen with a .ipa)
I updated .apk and .ipa in the store create a new project with the last Expo SDK Version, i changed images for low weight images and low size, Sentry never notify this as a bug.
Do you make use of asset bundling? If not, when you publish assets to the CDN, only those that are explicitly required will be picked up by the packager which may explain why you are not seeing them in a production environment. Nevertheless, I would certainly take advantage of asset bundling for a better loading experience for the end user. https://docs.expo.io/versions/v35.0.0/guides/offline-support/#bundle-your-assets-inside-your-standalone-binary
Hi @adamjnav, Thank you for answer my post, i will try to use your suggestion.
Can it be the reason why before images worked fine and currently not? i started this project with expo 28.0.0 and when i published firts version assetBundlePatterns was not available yet.