-
Notifications
You must be signed in to change notification settings - Fork 71
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
iOS physical device shows no SVG images, Android works #11
Comments
👍 on this, I'm seeing the same issue. @fullhdpixel did you find the cause of this? |
@rahulpatel I'm experiencing the same issue, I think it is because the image is imported from another file, here is an example:
|
put |
@Vatia13 For running in local we can manually add in node modules. But how could we achieve this in staging environments and production ? |
@vatichild Thank you very much for this fix. Do you plan to make a pull request with this change? |
The iOS simulator works exactly as intended. However, the SVG images are not shown when loaded on Expo on a physical iOS device. It works on Android however.
I have a project where this error is shown:
https://exp.host/@fullhdpixel/groenteboer
Test it here:
https://expo.io/appetize-simulator?url=https://expo.io/@fullhdpixel/groenteboer
Usage in App
<Product source={Images.peren}/>
Here is the styled component
Images.js
peren: require('../Assets/Images/Products/peren.png'),
The text was updated successfully, but these errors were encountered: