Zoomable View demo application that uses react-native-viewpager
and @dudigital/react-native-zoomable-view
for enabling to zoom view components with pinch-gestures.
- IMPORTANT: Run on a physical device - some issues on drawing an image on the emulator - also gestures don't work really on emulator.
- Install React Native as described at https://facebook.github.io/react-native/docs/getting-started.html#content
- Clone this repository
- Run
npm install @dudigital/react-native-zoomable-view --save
, to install zoomable view dependency - Run
npm install @react-native-community/viewpager --save
to install ViewPager dependency - Run
npx react-native run-android
command from root project directory. - Profit
The demo project uses the following third-party dependencies:
- "react-native-zoomable-view" - to implement zoomable views
- "react-native-viewpager" - to implement a viewpager