Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.6 KB

File metadata and controls

35 lines (29 loc) · 1.6 KB

An Gallery image viewer

  • Will allow to swipe between images
  • Download images from internet and cache them using ImageCache
  • Zoom on the images.

Install instructions

#install modules
yarn add react-native-cached-gallery-viewer
# or
npm install yarn add react-native-cached-gallery-viewer --save
# then as we depend of react-native-cached-image and therefore in react-native-fetch-blob
RNFB_ANDROID_PERMISSIONS=true react-native link react-native-fetch-blob

This module is an updated fork of several projects by https://github.com/ldn0x7dc in particular:

Advantages are:

  • it is compatible with React Native >= 0.45
  • There are less dependencies so it is easier to update or change functionality
  • Some of the PR in the above mentioned modules are included.
  • Uses react-native-cached-image to allow to cache images to disk on iOS and Android Further work

include a version of this PR that is compatible with react-native-cached-image