-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Image is not being rendered #3
Comments
If you're new to React Native: You need to rebuild the native code when you
run link. Quit the simulator and re-run 'react-native run-ios'.
If not, I'm not sure, I'll take a closer look in a bit.
…On Tue, May 2, 2017 at 11:07 PM Andres Olvera ***@***.***> wrote:
I did the following:
yarn add react-native-fast-image
react-native link
Then I replaced one of my images from this:
<Image
style={styles.image}
source={{uri: imageUri}}
/>
to this:
<FastImage
style={styles.image}
source={{
uri: imageUri,
priority: FastImage.priority.normal,
}}
resizeMode={FastImage.resizeMode.contain}
onLoad={() => console.tron.log('loaded')}
onError={() => console.tron.log('error')}
/>
I see the empty space where the image should be displayed, but no image.
Am I missing something?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABd2T6nPM2lIORORZ2-RHQmlh2qxNNCiks5r1--IgaJpZM4NO6n->
.
|
I already did that, I stopped the packager and ran yarn start, then react-native run-ios, same problem |
I think it was an issue with the last version published. Could you try installing the latest version? I just created a demo project, installed and ran it, seems good now. |
That did it! Thanks a lot for the fast response. |
You're welcome, thanks for finding the issue 😄 . |
im having the same problem, installed the latest version, problem still doesn't seem to go |
…xpensify feat: migrate patches
I did the following:
Then I replaced one of my images from this:
to this:
I see the empty space where the image should be displayed, but no image. Am I missing something?
The text was updated successfully, but these errors were encountered: