candlefinance / faster-image

Fast image loading for React Native backed by performant native libraries.
https://candle.fi/discord
MIT License
594 stars 28 forks source link

Some images are stuck on loading, never resolve #40

Closed dariyd closed 5 months ago

dariyd commented 5 months ago

Background

I migrated out out to use this library, which looked cool and promising. After release build on device some images are forever stuck on loading, even though urls are valid. All other libraries open all urls. (I was using fast-image) before

IMG_6308

Neither onError no onSuccess callback is called. Activity Indicator is shown despite I haven't set showActivityIndicator: true. I tried clearing the cache, deleting and reinstalling app. Do you have any idea what can cause it? I tried on different devices, same issue Or at least where I should debug it ?

dariyd commented 5 months ago

I found the issue. If the url has any white spaces, the loading is stuck without any result. It would be good to handle such cases