DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.1k stars 1.48k forks source link

FastImage.preload make app crash on android when uri is empty #893

Open iamvucms opened 2 years ago

iamvucms commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior if possible, or a link to a reproduction repo:

  1. FastImage.preload([{uri: ''}])

Expected behavior Should show warning log or something like this. Shouldn't be crash here A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

image

Dependency versions

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.

bwoodlt commented 1 year ago

Having the same issue @iamvucms