You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static images should be required statically for the packager to correctly bundle them(your first case). RN does not support dynamic require of assets or modules like that since there is not way for the package to know which files to include in the bundle unless we support a way to explicitly pass a list of such assets to the packager . this a client environment which is not the same as nodejs environment.
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
: command not foundnode -v
: v7.9.0npm -v
: 4.2.0yarn --version
: 1.0.2Then, specify:
Steps to Reproduce
(Write your steps here:)
Expected Behavior
Image should load
Actual Behavior
Image doesn't load and expo gives warning:
(Write what happened. Add screenshots!)
Reproducible Demo
This code works:
But this one gives error:
I simplified the code by removing the styling...
The text was updated successfully, but these errors were encountered: