For some reason, my project does not recognize the installation of react-native-gesture-handler
. The issue only appears when testing on Android devices and emulators.
The module is added to the package.json
as "react-native-gesture-handler": "^1.10.3",
.
The full error description:
react-native-gesture-handler module was not found. Make sure you're running your app on the native platform and your code is linked properly (cd ios && pod install && cd ..).
For installation instructions, please refer to https://docs.swmansion.com/react-native-gesture-handler/docs/#installation
I have tried following:
- Followed the installation guide here: https://docs.swmansion.com/react-native-gesture-handler/docs/#installation
- Restartet Metro
- Tried
npm install --save react-native-gesture-handler
- Cleaned Gradles
- Deleted and reinstalled node_modules
- Reinstalled the project on devices
Any suggestions?