Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image not cached properly if there is internet outage while caching #80

Open
yeswanth opened this issue Nov 16, 2017 · 2 comments
Open
Assignees
Labels

Comments

@yeswanth
Copy link

yeswanth commented Nov 16, 2017

image

Ideally, cache for such image should be deleted.

@wcandillon wcandillon self-assigned this Nov 16, 2017
@ewindso
Copy link

ewindso commented Dec 6, 2017

It also seems to happen if the same image is requested again before it's fully downloaded... (i.e. another component uses it)

@wcandillon
Copy link
Owner

I switched to a caching component that depends on ExpoKit: https://github.com/wcandillon/react-native-expo-image-cache. This library fixes this issue.

You can read about it in more details at https://medium.com/@wcandillon/5-things-to-know-about-images-react-native-69be41d2a9ee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants