Example app code is located under
example/ folder in the repo.
It showcases the majority of the Gesture Handler library features.
The app consist of the list of single screen examples presenting the capabilities of the library.
Each example is located under a separate folder under
Running example app locally
Before you begin you should follow React Native's setup steps to make sure you have all the tools necessary to build and run React Native apps installed. The example app is a regular React Native app, so in case of problems or to learn about available commands you may want to check react-native cli documentation.
In order to run example app you need to clone the repo first:
Then go to the library folder:
Install dependencies of library with the following command:
Then go to the
Install dependencies of example with the following command:
Run development server:
Finally run one of the commands below in order to build, install and launch the app on Android:
or on iOS:
You will need to have an Android or iOS device or emulator connected and
react-native-cli package installed globally.