error while updating 'source' of a view on android null uri
jihyeonjeong11 opened this issue · 2 comments
Describe the bug
The title says it's problem.
I check all issues relating this, but I think the situation little different from them sine they uploaded the same error with 'null null'...
I tried to change my fastimageviewmanager.java on this link
f21522c
but not helped(No ImageViewWithUrl symbol)
Thanks in advance.
To Reproduce
Steps to reproduce the behavior if possible, or a link to a reproduction repo:
- npm install
- react-native link
- add some FastImage tags
Expected behavior
Images should appear nicely
Dependency versions
- React Native version: 0.59
- React version: 16.5
- React Native Fast Image version: 0.0.5(fast image expo)
Note: if these are not the latest versions of each I recommend updating as extra effort will not be taken to be backwards compatible, and updating might resolving your issue.
Hi @jihyeonjeong11! Can please provide a code sample of what you tried to achieve?
This error means that you are providing a wrong value for source
prop, maybe a typo in the imported image or something like that
Thanks for your feedback.
I finally figured out this happens when Flatlist renders FastImage tag without a value on android environment, not ios.
Also, nesting buttons inside FastImage tag also causes this error on android.
like this.
<FastImage>
<TouchableWithoutFeedback />
</FastImage>
this throws an error on android.