ios: Local image not rendering
See original GitHub issueUsing FastImage with source={{ uri: 'local_uri' }}
does not work on ios. Works fine on android, or if I use some remote url instead. Tried with different styles. Setting fallback
true doesn’t seem to do anything either.
Currently on "react-native-fast-image": "^5.1.2",
and "react-native": "0.57.7"
Issue Analytics
- State:
- Created 5 years ago
- Reactions:15
- Comments:24
Top Results From Across the Web
ios: Local images are not rendering in 0.62.2 #29237 - GitHub
I am rendering local images, using the 'Image' component, on android, with path like file:///data/user/0/com.xxxx/files/ ...
Read more >React-native iOS not showing images (pods issue)
Images issue is seen in Xcode12 builds and the fix if you are not running latest react-native version or not planning to upgrade...
Read more >Local Images not rendering in React Native Expo FIX
However, this only works when the local image (png, jpg, jpeg, etc.) is included in the same folder as the Image component being...
Read more >react-native iOS app not showing static/local assets ... - YouTube
iOS : react-native iOS app not showing static/ local assets ( images ) after deploying [ Beautify Your Computer ...
Read more >Image is not loading(iOS14) | React Native Tutorial
Image is not loading in iOS 14 ... This issue is fixed and merged to react native latest version. But if you want...
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 FreeTop 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
Top GitHub Comments
I found solution. If your image like this
require('someImage.png')
, you should putwidth
andheight
for it with styles and it will work.Just use Image from react-native on IOS, my rendering issue with images was only on Android. Even with a release build.