Description:
React Native library for iOS and Android offline image storage. This library provides most of the capabilities for an application to display pre-loaded images when offline.
Features
- Define your own offline storage name!
- Preload the images
- Automatically remove expired images from offline storage.
- Supports a fallback source static image that will be shown if a source object has an ‘uri’ but is unable to download the image or is unable to find it in the offline storage.
- Use custom Image components.
- You can always re-fetch the image by specifying
reloadImage={true}irrespective of the image already being stored offline, this way you can refresh/load the most recently updated images. - Option to clear offline storage
Installation:
# Yarn
$ yarn add react-native-image-offline# NPM
$ npm install react-native-image-offline –save
