I am using detached Expo SDK 36. In the debug build, all images are displaying properly. But in release build, one image - profilePlaceholder.png is not getting bundled. We are using local images within the iOS app. "assetBundlePatterns": ["assets/icons","assets/images"],
How do I troubleshoot the missing image problem in release builds?
Your assetBundlePatterns should have patterns that match the actual files. Not just the directories.
So I think the following is what you’re looking for:
This is strange release bundling problem. <Image source={source1} defaultSource={source2} />
In the above code, defaultSource did not get bundled. So, I changed the code to {source1 ? <Image source={source1} /> : <Image source={source2} />}
With the above code, both source1 and source2 got bundled. This happens only in our release build. Wasted nearly 10 hours on this.