Skip to content

Files

Latest commit

4232fc3 · Mar 31, 2025

History

History

MacOSExample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 14, 2023
Dec 14, 2023
Mar 31, 2025
Dec 14, 2023
Mar 26, 2025
Dec 14, 2023
Dec 14, 2023
Dec 14, 2023
Oct 1, 2024
Nov 19, 2024
Dec 14, 2023
Dec 14, 2023
Nov 8, 2024
Oct 1, 2024
Dec 14, 2023
Oct 1, 2024
Mar 26, 2025
Oct 1, 2024
Jun 20, 2024
Mar 26, 2025

Running the MacOSExample app

  1. Clone the repository:
git clone https://github.com/software-mansion/react-native-gesture-handler
cd react-native-gesture-handler
  1. Install node_modules in project root directory:
yarn
  1. Install node_modules in MacOSExample/ directory:
cd MacOSExample
yarn
  1. Install Pods in MacOSExample/macos/ directory:
cd macos
pod install
  1. Start Metro bundler in MacOSExample/ directory
cd ..
yarn start

Running on macOS

You can either open the workspace in Xcode and launch the app from there:

open macos/MacOSExample.xcworkspace

or build and run directly from the command line:

yarn react-native run-macos

Troubleshooting

If you have trouble with building the app, try running

rm -rf Pods Podfile.lock build

in macos/ directory.