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

preload doesn't work on iOS

Open roycclu opened this issue 8 years ago • 4 comments

Set up a list of uri's to preload on login screen, after logging in, the images are still loading. This can be confirmed a preload issue as the general caching still work. When closing an app, and opening again the images load instantly. So it's just a preload issue.

Happening on iOS simulator and actual device. Any idea for fix?

RN: 0.54.0-rc3 RNFastImage: 4.0.4

roycclu avatar Jul 31 '18 13:07 roycclu

Hi Roy, I am facing the exact same issue than you. Did you manage to find a solution for your issue ? Cheers man. You can contact me at the following mail that would be very nice. [email protected].

Thanks!

twillstudio avatar Mar 19 '19 05:03 twillstudio

I get an error as well +1 - nil images and I'm sending [{ uri: }]

evanjmg avatar Mar 21 '19 19:03 evanjmg

@evanjmg , have a look at #431 , it fixed my issue.

twillstudio avatar Mar 22 '19 00:03 twillstudio

preload works on current versions (the example app checks it on iOS), and since 7.0.0 (SDWebImage 5) a preload call no longer cancels earlier ones. It doesn't report when it's done yet, so an image shown before its download finishes will still be loading; having preload report its results is planned. Please open a new issue if you still see this on the latest version.

DylanVann avatar Sep 25 '26 05:09 DylanVann