Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.06 KB

README.md

File metadata and controls

19 lines (14 loc) · 1.06 KB

Zoomable View Demo Application - React Native

Zoomable View demo application that uses react-native-viewpager and @dudigital/react-native-zoomable-view for enabling to zoom view components with pinch-gestures.

Getting started

  1. IMPORTANT: Run on a physical device - some issues on drawing an image on the emulator - also gestures don't work really on emulator.
  2. Install React Native as described at https://facebook.github.io/react-native/docs/getting-started.html#content
  3. Clone this repository
  4. Run npm install @dudigital/react-native-zoomable-view --save , to install zoomable view dependency
  5. Run npm install @react-native-community/viewpager --save to install ViewPager dependency
  6. Run npx react-native run-android command from root project directory.
  7. Profit

Demo project dependencies

The demo project uses the following third-party dependencies:

  • "react-native-zoomable-view" - to implement zoomable views
  • "react-native-viewpager" - to implement a viewpager