Describe the bug
Android app was crashing due to undefined image URL and URI because there is no null/undefined check in the library and We are using Glide for showing the image .It will not accept undefined/Null so that's It is crashing.
I have added null/undefined check when using Fast-Image from React-Native.
Describe the bug Android app was crashing due to undefined image URL and URI because there is no null/undefined check in the library and We are using Glide for showing the image .It will not accept undefined/Null so that's It is crashing.
I have added null/undefined check when using Fast-Image from React-Native.
const isValidFastImageUrl = (imageUrl) => imageUrl?.includes(undefined);
<FastImage source={isValidFastImageUrl(imagePath) ? placeHolderImg : {uri: imagePath}} resizeMode="contain" />