candlefinance / faster-image

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

Some images are stuck on loading, never resolve #40

Closed dariyd closed 2 weeks ago

dariyd commented 3 weeks 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 3 weeks 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