React Native Image Cache Android
Does React Native only provides image caching support on iOS. https://facebook.github.io/react-native/docs/images.html#cache-control-ios-only
Solution 1:
Cache Control is supported only for iOS at the moment and Android usage is not mentioned in the documents so I wouldn't recommend using it. I recommend using react-native-cached-image which is, in my opinion, a better alternative.
Here's an example of its usage:
import { CachedImage } from'react-native-cached-image';
<CachedImagestyle={{width:200,
height:200
}}
source={{uri: 'someurl' }}
/>
Post a Comment for "React Native Image Cache Android"