DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App crashed on Android if Source uri is empty

tindl88 opened this issue · comments

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

  • React Native version: 0.70.6, 0.71.8
  • React version: 18.2.0
  • React Native Fast Image version: 8.6.3