antonKalinin / react-native-image-view

Modal component to view images with zoom

Home Page:https://expo.io/@antonkalinin/react-native-image-view

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loading each time an image is opened on iOS

adamMebarki opened this issue · comments

"react-native": "0.59.10",
"react-native-image-view": "^2.1.9",
"react-native-fast-image": "5.4.2",

On iOS, when I open an image with the module, there is always a pre-loading before the image is showing.
On Android, it does not do that.
The project also uses react-native-fast-image to display instead of React Component
Image from react-native.

Is there a solution to prevent the loading of an image each time on iOS? Like using a cache to avoid using network requests.

Example with simulator iPhone X 13.3 and simulator Android Pixel 2 API 30
loading_image_ios