Comments (15)
+1, showing half of image.
from react-native-image-cache-hoc.
I had a similar issue where image would be displayed only have loaded or with some weird artifacts.
They would be cached and stay this way until app relaunch. Any Idea how this happens?
from react-native-image-cache-hoc.
from react-native-image-cache-hoc.
I was not able to reproduce this in any way. Has only occurred 2-3 times since we have used it. So 0.1% of the time?
Also there is nothing special about the images it occurs with. An arary of similar images (dimensions all about 1200 x 500) all hosted on S3 is displayed. In one instance one image was affected (similar to OPs image, image was party loaded and rest of image was white), in another one 2 were affected. In that case some weird graphical errors were visible. (thin colorful squiggly lines)
from react-native-image-cache-hoc.
This is probably an issue related to the RNfetchblob (https://github.com/joltup/react-native-fetch-blob) dependency if I had to guess. Looks like react-native-image-cache-hoc is on the latest version of RNfetchblob so upgrading won't patch.
For what it's worth, so long as the image was downloaded to the cache (ie you didn't supply a permanent={true} prop), sooner or later the broken image will be garbage collected from the cache and re-downloaded which solves the problem in the case that something just intermittently went wrong during the download process.
from react-native-image-cache-hoc.
can someone check this issue with v2.0.0?
from react-native-image-cache-hoc.
tested on android 6 v2.0.0
from react-native-image-cache-hoc.
Just faced this on ios
from react-native-image-cache-hoc.
related : wkh237/react-native-fetch-blob#331
from react-native-image-cache-hoc.
Any way around this?
from react-native-image-cache-hoc.
I have fixed this bug in my branch! => https://github.com/SunXingZ/react-native-image-cache-hoc.git
from react-native-image-cache-hoc.
I have fixed this bug in my branch! => https://github.com/SunXingZ/react-native-image-cache-hoc.git
changed to your repo.
from react-native-image-cache-hoc.
I have fixed this bug in my branch! => https://github.com/SunXingZ/react-native-image-cache-hoc.git
sometimes it will not success when i change the pic use cacheImage
from react-native-image-cache-hoc.
@SunXingZ did you try to open a PR with the fixing changes to this repo?
from react-native-image-cache-hoc.
@SunXingZ any updates on this issue's fix? I am also facing this consistently.
from react-native-image-cache-hoc.
Related Issues (20)
- Could not add resizeMode property to cacheable image HOT 5
- Usable with ImageBackground? HOT 6
- app showing error while http url images in ios and android platform HOT 14
- Unable to determine remote image filetype HOT 4
- Static methods (cacheFile, flush) works only with default directory
- [Improvements] Request headers, filename, rejection callback
- how to get the cache size? HOT 3
- it will crash when given a wrong image uri HOT 2
- Make rn-fetch-blob a peer dependency
- Caching Folder absolute path
- Clear cache
- The image can't be cache if the link is in HTTP
- react-native link rn-fetch-blob throws error HOT 1
- Cacheable Image not working with ImageBackground which does not use a uri.
- [TypeError: Network request failed] in android HOT 1
- Getting the following exception when the image loads on iOS
- Warning: componentWillReceiveProps has been renamed HOT 1
- Caches images non-unique naming
- Package abandoned? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-image-cache-hoc.