DylanVann / react-native-fast-image

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

App crashed on Android if Source uri is empty #997

Open tindl88 opened 11 months ago

tindl88 commented 11 months ago

Describe the bug For some reasons, if Source uri is empty. The app will be crash (only happen on Android).

To Reproduce

  useEffect(() => {
    FastImage.preload([{uri: ''}]);
  }, []);

Expected behavior The app should not be crash.

Dependency versions

kbqdev commented 10 months ago

+1