Expo SDK 38: .png image not showing on testflight app (working fine in dev)
See original GitHub issue🐛 Bug Report
.png images are not showing inside test-flight app(Works fine in dev mode)
Platform: ios
Reproducible Demo
Expo SDK version: 38
app.json includes "assetBundlePatterns": ["**/*"]
Styled components are used to display the image
const NameWrapper = styled.Image`
height: 52px;
width: 68px;
margin-top: 5px;
`;
<NameWrapper source={require("../../../assets/WelcomeScreenLogo.png")} />
<WelcomeImage source={require("../../../assets/WelcomeScreen.png")}
resizeMode="contain"
/>
None of these images is showing in test flight however working fine in dev mode.
Steps to Reproduce
Create expo-app using SDK 38 Add images using styled components Build and check your app on test-flight
Expected Behavior vs Actual Behavior
Expected: Images should show Actual: Images not showing
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Expo react-native: .png image not showing on testflight app ...
Updating to SDK 39 works fine.
Read more >Expo React Native App Image Not Work Properly On ...
Bug Report.png images are not showing inside testflight appWorks fine in dev mode. Platform: ios Steps to Reproduce. Create expoapp using SDK 38...
Read more >App is stuck on splash screen when opening it in Testflight
Hi, I am trying to run the app through(testflight). Upload went well but when I downloaded app on Testflight and opened it, it...
Read more >Function on TestFlight not during review App issue
Hi Apple Developers. I need advice on how to fix this. Our new app was coded in React Native and build in Expo...
Read more >Local image is not being rendered in release and TestFlight
Using react-native v0.63.4, and all the local image load fine in development mode. ``` <Image. source={require('../assets/images/xyz.png')}.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Upgrading to SDK 39 worked for me
Still having the issue on SDK 45.