react-native-fast-image icon indicating copy to clipboard operation
react-native-fast-image copied to clipboard

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

Open iamvucms opened this issue 2 years ago • 1 comments

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

  • React Native version: 0.67.4
  • React version: *
  • React Native Fast Image version: Latest

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.

iamvucms avatar Apr 12 '22 14:04 iamvucms

Having the same issue @iamvucms

bwoodlt avatar May 10 '23 15:05 bwoodlt