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
In the docs it is mention that bundled assets can be targeted by path starting with ./: Local URL: eg ./profile.png. This image must be bundled as an asset in the mobile app.
But this doesn't work.
I had a look at the code and it looks like the ./ path gets normalized with the server url and then passed in as imageProps.source = { uri: source };.
From what I can see in the React Native docs local assets need to be required() and can be assigned to the source prop right away.
The text was updated successfully, but these errors were encountered:
Hi everyone,
In the docs it is mention that bundled assets can be targeted by path starting with
./
:Local URL: eg ./profile.png. This image must be bundled as an asset in the mobile app.
But this doesn't work.
I had a look at the code and it looks like the
./
path gets normalized with the server url and then passed in asimageProps.source = { uri: source };
.From what I can see in the React Native docs local assets need to be
required()
and can be assigned to the source prop right away.The text was updated successfully, but these errors were encountered: